#231034
Closest named color: Midnight Purple (#280137). oklch(22.2% 0.07 305.8), rgb(35, 16, 52).
Aa
White text reads best on this color (17.57:1).
About this color
#231034 is a very dark, muted purple. In OKLCH its lightness is 22%, its chroma 0.070 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.036 away. White text reads best on it, at 17.57:1.
| Hue family | Purples |
| Lightness | very dark (22%) |
| Chroma | muted (0.070) |
| Temperature | in between |
| Nearest name | Midnight Purple (#280137) |
| Black text | 1.19:1 |
| White text | 17.57:1 |
Values
| HEX | #231034 |
| RGB | rgb(35, 16, 52) |
| HSL | hsl(272, 53%, 13%) |
| OKLCH | oklch(22.2% 0.07 305.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 #231034 | 17.57:1 | AAA | Lc -106.5 | Preferred for body text |
| Black text on #231034 | 1.19:1 | Fails | Lc 0.0 | Not readable |
| #231034 text on white | 17.57:1 | AAA | Lc 104.2 | Preferred for body text |
| #231034 text on black | 1.19: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
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#EEE6F7
oklch(93.6% 0.024 307)
-
Step 200
200
#E0D2F2
oklch(88.5% 0.046 305.2)
-
Step 300
300
#CDB3EB
oklch(80.8% 0.082 305.8)
-
Step 400
400
#B58AE1
oklch(70.7% 0.131 306.1)
-
Step 500
500
#A36AD9
oklch(63.2% 0.168 305.9)
-
Step 600
600
#8E4EC6
oklch(55.6% 0.183 305.9)
-
Step 700
700
#793EAB
oklch(49.1% 0.17 306)
-
Step 800
800
#62348B
oklch(42.7% 0.141 305.6)
-
Step 900
900
#502F6F
oklch(37.8% 0.109 305.6)
-
Step 950
950 (this color)
#231034
oklch(22.2% 0.07 305.8)
#231034 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) | #031835 | 0.057 |
| Deuteranopia (no green cones) | #091933 | 0.051 |
| Tritanopia (no blue cones) | #201720 | 0.050 |
| Achromatopsia (no color) | #191919 | 0.070 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #231034
#231034
oklch(22.2% 0.07 305.8)
- #141F00
#141F00
oklch(22% 0.056 126.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 #231034, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Purple #280137 ΔE 0.036
- Very Dark Purple #2A0134 ΔE 0.036
- Dark Purple #35063E ΔE 0.048
- Eggplant #380835 ΔE 0.050
- Deep Purple #36013F ΔE 0.054
- Rich Black #0D1B2A ΔE 0.057
- Aubergine #3D0734 ΔE 0.061
- Dark Indigo #1F0954 ΔE 0.063
Use #231034 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.