#2F2234
Closest named color: Oxford Blue (#1B263B). oklch(27.5% 0.037 316.4), rgb(47, 34, 52).
Aa
White text reads best on this color (15.00:1).
About this color
#2F2234 is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.037 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.037 away. White text reads best on it, at 15.00:1.
| Hue family | Purples |
| Lightness | dark (28%) |
| Chroma | muted (0.037) |
| Temperature | in between |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.39:1 |
| White text | 15.00:1 |
Values
| HEX | #2F2234 |
| RGB | rgb(47, 34, 52) |
| HSL | hsl(283, 21%, 17%) |
| OKLCH | oklch(27.5% 0.037 316.4) |
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 #2F2234 | 15.00:1 | AAA | Lc -104.6 | Preferred for body text |
| Black text on #2F2234 | 1.39:1 | Fails | Lc 0.0 | Not readable |
| #2F2234 text on white | 15.00:1 | AAA | Lc 101.9 | Preferred for body text |
| #2F2234 text on black | 1.39: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
#F7F4F8
oklch(97.1% 0.006 317.8)
-
Step 100
100
#EDE7F0
oklch(93.5% 0.014 314.8)
-
Step 200
200
#E0D4E4
oklch(88.4% 0.025 317.7)
-
Step 300
300
#CCB8D4
oklch(80.8% 0.044 316.4)
-
Step 400
400
#B293BE
oklch(70.6% 0.071 316.5)
-
Step 500
500
#9F78AE
oklch(63% 0.09 316.4)
-
Step 600
600
#8A619A
oklch(55.7% 0.098 316.2)
-
Step 700
700
#755083
oklch(49.2% 0.09 316.4)
-
Step 800
800
#5F416B
oklch(42.6% 0.077 315.9)
-
Step 900
900
#4E3856
oklch(37.8% 0.057 316.8)
-
Step 950
950 (this color)
#2F2234
oklch(27.5% 0.037 316.4)
#2F2234 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) | #202635 | 0.029 |
| Deuteranopia (no green cones) | #222733 | 0.028 |
| Tritanopia (no blue cones) | #2F2428 | 0.026 |
| Achromatopsia (no color) | #272727 | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F2234
#2F2234
oklch(27.5% 0.037 316.4)
- #1F2C1A
#1F2C1A
oklch(27.5% 0.037 137.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 #2F2234, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.037
- Jet #212529 ΔE 0.037
- Dark #1B2431 ΔE 0.037
- Space Cadet #2B2D42 ΔE 0.038
- Gunmetal #293241 ΔE 0.051
- Eggplant #380835 ΔE 0.067
- Aubergine #3D0734 ΔE 0.069
- Rich Black #0D1B2A ΔE 0.070
Use #2F2234 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.