#310032
Closest named color: Very Dark Purple (#2A0134). oklch(22.1% 0.102 327.5), rgb(49, 0, 50).
Aa
White text reads best on this color (17.84:1).
About this color
#310032 is a very dark, moderately saturated purple. In OKLCH its lightness is 22%, its chroma 0.102 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.019 away. White text reads best on it, at 17.84:1.
| Hue family | Purples |
| Lightness | very dark (22%) |
| Chroma | moderately saturated (0.102) |
| Temperature | in between |
| Nearest name | Very Dark Purple (#2A0134) |
| Black text | 1.17:1 |
| White text | 17.84:1 |
Values
| HEX | #310032 |
| RGB | rgb(49, 0, 50) |
| HSL | hsl(299, 100%, 10%) |
| OKLCH | oklch(22.1% 0.102 327.5) |
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 #310032 | 17.84:1 | AAA | Lc -106.2 | Preferred for body text |
| Black text on #310032 | 1.17:1 | Fails | Lc 0.0 | Not readable |
| #310032 text on white | 17.84:1 | AAA | Lc 103.8 | Preferred for body text |
| #310032 text on black | 1.17: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
#FCF2FB
oklch(97.1% 0.016 328.8)
-
Step 100
100
#F7E2F6
oklch(93.6% 0.035 327.3)
-
Step 200
200
#F2CAF0
oklch(88.5% 0.067 327.7)
-
Step 300
300
#EAA4E9
oklch(80.8% 0.121 327.1)
-
Step 400
400
#DD6EDD
oklch(70.6% 0.192 327.4)
-
Step 500
500
#D23BD3
oklch(63.2% 0.246 327.7)
-
Step 600
600
#BA00BD
oklch(55.5% 0.256 327.5)
-
Step 700
700
#9D00A0
oklch(49% 0.226 327.4)
-
Step 800
800
#820084
oklch(42.7% 0.197 327.6)
-
Step 900
900
#6A0F6C
oklch(37.7% 0.16 327.2)
-
Step 950
950 (this color)
#310032
oklch(22.1% 0.102 327.5)
#310032 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) | #001333 | 0.105 |
| Deuteranopia (no green cones) | #0D1A31 | 0.094 |
| Tritanopia (no blue cones) | #330819 | 0.058 |
| Achromatopsia (no color) | #171717 | 0.103 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #310032
#310032
oklch(22.1% 0.102 327.5)
- #002207
#002207
oklch(22% 0.064 147.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes and gradients that use #310032
These curated palettes and gradients contain exactly #310032. Open one to see the full color scheme around it.
Gradients
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Very Dark Purple #2A0134 ΔE 0.019
- Midnight Purple #280137 ΔE 0.026
- Eggplant #380835 ΔE 0.027
- Deep Purple #36013F ΔE 0.027
- Dark Purple #35063E ΔE 0.028
- Aubergine #3D0734 ΔE 0.036
- Dark Plum #3F012C ΔE 0.040
- Eggplant Purple #430541 ΔE 0.053
Use #310032 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.