#331043
Closest named color: Dark Purple (#35063E). oklch(25.7% 0.095 313.2), rgb(51, 16, 67).
Aa
White text reads best on this color (16.20:1).
About this color
#331043 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.095 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.020 away. White text reads best on it, at 16.20:1.
| Hue family | Purples |
| Lightness | dark (26%) |
| Chroma | moderately saturated (0.095) |
| Temperature | in between |
| Nearest name | Dark Purple (#35063E) |
| Black text | 1.29:1 |
| White text | 16.20:1 |
Values
| HEX | #331043 |
| RGB | rgb(51, 16, 67) |
| HSL | hsl(281, 61%, 16%) |
| OKLCH | oklch(25.7% 0.095 313.2) |
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 #331043 | 16.20:1 | AAA | Lc -105.4 | Preferred for body text |
| Black text on #331043 | 1.29:1 | Fails | Lc 0.0 | Not readable |
| #331043 text on white | 16.20:1 | AAA | Lc 102.7 | Preferred for body text |
| #331043 text on black | 1.29:1 | Fails | Lc 0.0 | 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 950.
-
Step 50
50
#F9F3FD
oklch(97.2% 0.015 312.2)
-
Step 100
100
#F2E4FA
oklch(93.6% 0.033 313.5)
-
Step 200
200
#E8CEF7
oklch(88.6% 0.062 313.2)
-
Step 300
300
#DAABF4
oklch(80.9% 0.112 313.2)
-
Step 400
400
#C87AEF
oklch(70.8% 0.18 313.4)
-
Step 500
500
#B94FE9
oklch(63.1% 0.231 313.4)
-
Step 600
600
#A526D7
oklch(55.6% 0.251 313.5)
-
Step 700
700
#8D13BB
oklch(49.1% 0.234 313.2)
-
Step 800
800
#721797
oklch(42.6% 0.193 313.1)
-
Step 900
900
#5D1E78
oklch(37.8% 0.15 313.6)
-
Step 950
950 (this color)
#331043
oklch(25.7% 0.095 313.2)
#331043 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) | #001F45 | 0.088 |
| Deuteranopia (no green cones) | #0C2142 | 0.078 |
| Tritanopia (no blue cones) | #311A28 | 0.062 |
| Achromatopsia (no color) | #202020 | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #331043
#331043
oklch(25.7% 0.095 313.2)
- #142A00
#142A00
oklch(25.6% 0.073 133.1)
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 #331043, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Purple #35063E ΔE 0.020
- Deep Purple #36013F ΔE 0.028
- Eggplant #380835 ΔE 0.031
- Aubergine #3D0734 ΔE 0.039
- Eggplant Purple #430541 ΔE 0.039
- Very Dark Purple #2A0134 ΔE 0.048
- Midnight Purple #280137 ΔE 0.048
- Deep Violet #490648 ΔE 0.051
Use #331043 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.