#6A2158
Closest named color: Velvet (#750851). oklch(38.1% 0.123 338.9), rgb(106, 33, 88).
Aa
White text reads best on this color (10.65:1).
About this color
#6A2158 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.123 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.035 away. White text reads best on it, at 10.65:1.
| Hue family | Purples |
| Lightness | dark (38%) |
| Chroma | moderately saturated (0.123) |
| Temperature | warm |
| Nearest name | Velvet (#750851) |
| Black text | 1.97:1 |
| White text | 10.65:1 |
Values
| HEX | #6A2158 |
| RGB | rgb(106, 33, 88) |
| HSL | hsl(315, 53%, 27%) |
| OKLCH | oklch(38.1% 0.123 338.9) |
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 #6A2158 | 10.65:1 | AAA | Lc -98.0 | Preferred for body text |
| Black text on #6A2158 | 1.97:1 | Fails | Lc 10.0 | Not readable |
| #6A2158 text on white | 10.65:1 | AAA | Lc 94.0 | Preferred for body text |
| #6A2158 text on black | 1.97:1 | Fails | Lc -8.6 | Not readable |
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 900.
-
Step 50
50
#FCF2F8
oklch(97.1% 0.013 340.5)
-
Step 100
100
#F7E3F0
oklch(93.6% 0.028 338.6)
-
Step 200
200
#F1CDE5
oklch(88.6% 0.051 338.4)
-
Step 300
300
#E9AAD5
oklch(81% 0.092 338.7)
-
Step 400
400
#DB79BF
oklch(70.7% 0.148 338.8)
-
Step 500
500
#CF52AF
oklch(63.2% 0.189 338.9)
-
Step 600
600
#BA2F9A
oklch(55.6% 0.205 339)
-
Step 700
700
#A01F84
oklch(49.2% 0.192 338.9)
-
Step 800
800
#821D6B
oklch(42.7% 0.159 339)
-
Step 900
900 (this color)
#6A2158
oklch(38.1% 0.123 338.9)
-
Step 950
950
#3E1433
oklch(27.1% 0.079 339.1)
#6A2158 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) | #24375A | 0.133 |
| Deuteranopia (no green cones) | #3B4256 | 0.116 |
| Tritanopia (no blue cones) | #702439 | 0.058 |
| Achromatopsia (no color) | #3E3E3E | 0.125 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6A2158
#6A2158
oklch(38.1% 0.123 338.9)
- #005031
#005031
oklch(38% 0.087 159.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 #6A2158, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Velvet #750851 ΔE 0.035
- Rich Purple #720058 ΔE 0.039
- Grape Purple #5D1451 ΔE 0.040
- Red Purple #820747 ΔE 0.059
- Merlot #730039 ΔE 0.059
- Wine #80013F ΔE 0.064
- Bordeaux #7B002C ΔE 0.080
- Purple Brown #673A3F ΔE 0.083
Use #6A2158 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.