#311E36
Closest named color: Oxford Blue (#1B263B). oklch(27% 0.05 319.1), rgb(49, 30, 54).
Aa
White text reads best on this color (15.33:1).
About this color
#311E36 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.050 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.044 away. White text reads best on it, at 15.33:1.
| Hue family | Purples |
| Lightness | dark (27%) |
| Chroma | muted (0.050) |
| Temperature | in between |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.36:1 |
| White text | 15.33:1 |
Values
| HEX | #311E36 |
| RGB | rgb(49, 30, 54) |
| HSL | hsl(288, 29%, 16%) |
| OKLCH | oklch(27% 0.05 319.1) |
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 #311E36 | 15.33:1 | AAA | Lc -104.9 | Preferred for body text |
| Black text on #311E36 | 1.36:1 | Fails | Lc 0.0 | Not readable |
| #311E36 text on white | 15.33:1 | AAA | Lc 102.2 | Preferred for body text |
| #311E36 text on black | 1.36: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
#F8F4F9
oklch(97.2% 0.008 319.4)
-
Step 100
100
#EFE6F1
oklch(93.5% 0.018 320.1)
-
Step 200
200
#E3D3E7
oklch(88.6% 0.032 319.5)
-
Step 300
300
#D2B5D9
oklch(80.9% 0.059 319.7)
-
Step 400
400
#BB8DC6
oklch(70.7% 0.096 319.7)
-
Step 500
500
#A970B8
oklch(63.1% 0.122 319.1)
-
Step 600
600
#9457A4
oklch(55.6% 0.133 319)
-
Step 700
700
#7E478C
oklch(49.1% 0.122 319.2)
-
Step 800
800
#663A72
oklch(42.6% 0.103 318.8)
-
Step 900
900
#54335C
oklch(37.8% 0.079 319.6)
-
Step 950
950 (this color)
#311E36
oklch(27% 0.05 319.1)
#311E36 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) | #1B2437 | 0.043 |
| Deuteranopia (no green cones) | #1F2635 | 0.041 |
| Tritanopia (no blue cones) | #312127 | 0.033 |
| Achromatopsia (no color) | #252525 | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #311E36
#311E36
oklch(27% 0.05 319.1)
- #192C14
#192C14
oklch(26.9% 0.049 139.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 #311E36, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.044
- Dark #1B2431 ΔE 0.046
- Space Cadet #2B2D42 ΔE 0.047
- Jet #212529 ΔE 0.049
- Eggplant #380835 ΔE 0.053
- Aubergine #3D0734 ΔE 0.055
- Dark Purple #35063E ΔE 0.060
- Gunmetal #293241 ΔE 0.062
Use #311E36 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.