#231137
Closest named color: Midnight Purple (#280137). oklch(22.6% 0.072 302.9), rgb(35, 17, 55).
Aa
White text reads best on this color (17.40:1).
About this color
#231137 is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.072 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.037 away. White text reads best on it, at 17.40:1.
| Hue family | Purples |
| Lightness | very dark (23%) |
| Chroma | moderately saturated (0.072) |
| Temperature | in between |
| Nearest name | Midnight Purple (#280137) |
| Black text | 1.20:1 |
| White text | 17.40:1 |
Values
| HEX | #231137 |
| RGB | rgb(35, 17, 55) |
| HSL | hsl(268, 53%, 14%) |
| OKLCH | oklch(22.6% 0.072 302.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 #231137 | 17.40:1 | AAA | Lc -106.4 | Preferred for body text |
| Black text on #231137 | 1.20:1 | Fails | Lc 0.0 | Not readable |
| #231137 text on white | 17.40:1 | AAA | Lc 104.1 | Preferred for body text |
| #231137 text on black | 1.20: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
#F7F4FC
oklch(97.2% 0.011 303.1)
-
Step 100
100
#EDE6F8
oklch(93.6% 0.025 303.5)
-
Step 200
200
#DFD2F4
oklch(88.5% 0.048 302.8)
-
Step 300
300
#CBB4EF
oklch(80.9% 0.085 302.4)
-
Step 400
400
#B28AE6
oklch(70.7% 0.136 303.1)
-
Step 500
500
#9F6ADF
oklch(63.1% 0.174 302.6)
-
Step 600
600
#8B4ECC
oklch(55.6% 0.189 303)
-
Step 700
700
#763EB1
oklch(49.2% 0.176 302.8)
-
Step 800
800
#60348F
oklch(42.7% 0.146 303)
-
Step 900
900
#4E2F72
oklch(37.7% 0.113 302.7)
-
Step 950
950 (this color)
#231137
oklch(22.6% 0.072 302.9)
#231137 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) | #021A38 | 0.057 |
| Deuteranopia (no green cones) | #081A36 | 0.051 |
| Tritanopia (no blue cones) | #1F1921 | 0.055 |
| Achromatopsia (no color) | #1A1A1A | 0.072 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #231137
#231137
oklch(22.6% 0.072 302.9)
- #172000
#172000
oklch(22.6% 0.056 123.4)
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 #231137, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Purple #280137 ΔE 0.037
- Very Dark Purple #2A0134 ΔE 0.039
- Dark Purple #35063E ΔE 0.046
- Eggplant #380835 ΔE 0.050
- Deep Purple #36013F ΔE 0.053
- Rich Black #0D1B2A ΔE 0.058
- Dark Indigo #1F0954 ΔE 0.058
- Aubergine #3D0734 ΔE 0.062
Use #231137 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.