#7271C6
Closest named color: Dark Periwinkle (#665FD1). oklch(58.8% 0.128 282.3), rgb(114, 113, 198).
Aa
Black text reads best on this color (4.89:1).
About this color
#7271C6 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.128 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.056 away. Black text reads best on it, at 4.89:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.128) |
| Temperature | cool |
| Nearest name | Dark Periwinkle (#665FD1) |
| Black text | 4.89:1 |
| White text | 4.29:1 |
Values
| HEX | #7271C6 |
| RGB | rgb(114, 113, 198) |
| HSL | hsl(241, 43%, 61%) |
| OKLCH | oklch(58.8% 0.128 282.3) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #7271C6 | 4.29:1 | AA large text | Lc -75.1 | Fine for body text |
| Black text on #7271C6 | 4.89:1 | AA | Lc 34.5 | Non-text elements, placeholder text |
| #7271C6 text on white | 4.29:1 | AA large text | Lc 69.6 | Content text, not long reading |
| #7271C6 text on black | 4.89:1 | AA | Lc -32.1 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E8E9F5
oklch(93.7% 0.016 282.3)
-
Step 200
200
#D5D7EE
oklch(88.5% 0.032 281.8)
-
Step 300
300
#BABDE6
oklch(81% 0.058 281.7)
-
Step 400
400
#979AD9
oklch(70.8% 0.092 281.7)
-
Step 500
500
#7F7FCE
oklch(63% 0.118 282.5)
-
Step 600
600 (this color)
#7271C6
oklch(58.8% 0.128 282.3)
-
Step 700
700
#5856A2
oklch(49.2% 0.119 282.3)
-
Step 800
800
#484683
oklch(42.7% 0.099 282.8)
-
Step 900
900
#3C3B69
oklch(37.6% 0.078 283)
-
Step 950
950
#23233D
oklch(27% 0.048 282.7)
#7271C6 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #527DC9 | 0.047 |
| Deuteranopia (no green cones) | #4D77C4 | 0.048 |
| Tritanopia (no blue cones) | #588292 | 0.110 |
| Achromatopsia (no color) | #7A7A7A | 0.128 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7271C6
#7271C6
oklch(58.8% 0.128 282.3)
- #8B7E00
#8B7E00
oklch(58.7% 0.123 102.2)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7271C6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Periwinkle #665FD1 ΔE 0.056
- Deep Lilac #966EBD ΔE 0.057
- Medium Purple #9370DB ΔE 0.061
- Deep Lavender #8D5EB7 ΔE 0.061
- Light Indigo #6D5ACF ΔE 0.062
- Slate Blue #6A5ACD ΔE 0.063
- Medium Slate Blue #7B68EE ΔE 0.068
- Windows Blue #3778BF ΔE 0.069
Use #7271C6 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.