#402153
Closest named color: Deep Violet (#490648). oklch(31.4% 0.092 310.8), rgb(64, 33, 83).
Aa
White text reads best on this color (13.45:1).
About this color
#402153 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.092 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.053 away. White text reads best on it, at 13.45:1.
| Hue family | Purples |
| Lightness | dark (31%) |
| Chroma | moderately saturated (0.092) |
| Temperature | in between |
| Nearest name | Deep Violet (#490648) |
| Black text | 1.56:1 |
| White text | 13.45:1 |
Values
| HEX | #402153 |
| RGB | rgb(64, 33, 83) |
| HSL | hsl(277, 43%, 23%) |
| OKLCH | oklch(31.4% 0.092 310.8) |
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 #402153 | 13.45:1 | AAA | Lc -102.8 | Preferred for body text |
| Black text on #402153 | 1.56:1 | Fails | Lc 0.0 | Not readable |
| #402153 text on white | 13.45:1 | AAA | Lc 99.6 | Preferred for body text |
| #402153 text on black | 1.56: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
#F1E4FA
oklch(93.6% 0.032 311.7)
-
Step 200
200
#E6CFF7
oklch(88.6% 0.059 310.8)
-
Step 300
300
#D7ADF5
oklch(81% 0.109 310.6)
-
Step 400
400
#C37DEF
oklch(70.7% 0.174 311)
-
Step 500
500
#B355EA
oklch(63.1% 0.222 310.6)
-
Step 600
600
#9F30D8
oklch(55.6% 0.242 310.7)
-
Step 700
700
#881FBB
oklch(49.1% 0.224 310.8)
-
Step 800
800
#6E1E97
oklch(42.6% 0.186 310.7)
-
Step 900
900
#592178
oklch(37.5% 0.145 310.8)
-
Step 950
950 (this color)
#402153
oklch(31.4% 0.092 310.8)
#402153 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) | #122D55 | 0.078 |
| Deuteranopia (no green cones) | #1D2F52 | 0.069 |
| Tritanopia (no blue cones) | #3E2A36 | 0.064 |
| Achromatopsia (no color) | #2F2F2F | 0.092 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #402153
#402153
oklch(31.4% 0.092 310.8)
- #213900
#213900
oklch(31.3% 0.085 130.9)
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 #402153, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Violet #490648 ΔE 0.053
- Plum Purple #4E0550 ΔE 0.053
- Eggplant Purple #430541 ΔE 0.059
- Space Cadet #2B2D42 ΔE 0.063
- Grape Purple #5D1451 ΔE 0.064
- Royal Purple #4B006E ΔE 0.070
- Dark Purple #35063E ΔE 0.072
- Aubergine #3D0734 ΔE 0.074
Use #402153 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.