#220C30
Closest named color: Midnight Purple (#280137). oklch(21% 0.071 309.8), rgb(34, 12, 48).
Aa
White text reads best on this color (18.05:1).
About this color
#220C30 is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.071 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.031 away. White text reads best on it, at 18.05:1.
| Hue family | Purples |
| Lightness | very dark (21%) |
| Chroma | moderately saturated (0.071) |
| Temperature | in between |
| Nearest name | Midnight Purple (#280137) |
| Black text | 1.16:1 |
| White text | 18.05:1 |
Values
| HEX | #220C30 |
| RGB | rgb(34, 12, 48) |
| HSL | hsl(277, 60%, 12%) |
| OKLCH | oklch(21% 0.071 309.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 #220C30 | 18.05:1 | AAA | Lc -106.8 | Preferred for body text |
| Black text on #220C30 | 1.16:1 | Fails | Lc 0.0 | Not readable |
| #220C30 text on white | 18.05:1 | AAA | Lc 104.5 | Preferred for body text |
| #220C30 text on black | 1.16: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
#F8F3FB
oklch(97% 0.012 313.2)
-
Step 100
100
#EFE6F6
oklch(93.7% 0.023 310.7)
-
Step 200
200
#E2D1F1
oklch(88.4% 0.047 309.2)
-
Step 300
300
#D1B2EA
oklch(80.9% 0.084 309.6)
-
Step 400
400
#BA88DF
oklch(70.8% 0.134 309.7)
-
Step 500
500
#A967D6
oklch(63.2% 0.171 309.8)
-
Step 600
600
#944AC3
oklch(55.5% 0.187 309.8)
-
Step 700
700
#7E3BA9
oklch(49.2% 0.174 309.5)
-
Step 800
800
#673188
oklch(42.7% 0.144 310.3)
-
Step 900
900
#532D6D
oklch(37.7% 0.111 309.5)
-
Step 950
950 (this color)
#220C30
oklch(21% 0.071 309.8)
#220C30 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) | #011531 | 0.063 |
| Deuteranopia (no green cones) | #08172F | 0.055 |
| Tritanopia (no blue cones) | #20131C | 0.049 |
| Achromatopsia (no color) | #161616 | 0.072 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #220C30
#220C30
oklch(21% 0.071 309.8)
- #0F1D00
#0F1D00
oklch(21% 0.057 130.3)
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 #220C30, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Purple #280137 ΔE 0.031
- Very Dark Purple #2A0134 ΔE 0.031
- Dark Purple #35063E ΔE 0.051
- Eggplant #380835 ΔE 0.053
- Deep Purple #36013F ΔE 0.056
- Rich Black #0D1B2A ΔE 0.061
- Aubergine #3D0734 ΔE 0.064
- Dark Indigo #1F0954 ΔE 0.070
Use #220C30 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.