#373271
Closest named color: Marine Blue (#01386A). oklch(35.8% 0.105 283.3), rgb(55, 50, 113).
Aa
White text reads best on this color (11.30:1).
About this color
#373271 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.105 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.058 away. White text reads best on it, at 11.30:1.
| Hue family | Purples |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.105) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.85:1 |
| White text | 11.30:1 |
Values
| HEX | #373271 |
| RGB | rgb(55, 50, 113) |
| HSL | hsl(245, 39%, 32%) |
| OKLCH | oklch(35.8% 0.105 283.3) |
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 #373271 | 11.30:1 | AAA | Lc -99.7 | Preferred for body text |
| Black text on #373271 | 1.85:1 | Fails | Lc 8.0 | Not readable |
| #373271 text on white | 11.30:1 | AAA | Lc 95.9 | Preferred for body text |
| #373271 text on black | 1.85: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 900.
-
Step 50
50
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E7E8F9
oklch(93.5% 0.023 283.3)
-
Step 200
200
#D5D6F6
oklch(88.5% 0.044 284)
-
Step 300
300
#B9BBF3
oklch(81% 0.079 282.9)
-
Step 400
400
#9695EC
oklch(70.6% 0.126 283.2)
-
Step 500
500
#7F78E6
oklch(63% 0.161 283.6)
-
Step 600
600
#695ED4
oklch(55.5% 0.175 283.3)
-
Step 700
700
#584DB8
oklch(49.1% 0.163 283.3)
-
Step 800
800
#484095
oklch(42.7% 0.135 283.4)
-
Step 900
900 (this color)
#373271
oklch(35.8% 0.105 283.3)
-
Step 950
950
#232145
oklch(27% 0.065 283.6)
#373271 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) | #113C73 | 0.049 |
| Deuteranopia (no green cones) | #0C3870 | 0.050 |
| Tritanopia (no blue cones) | #22404C | 0.090 |
| Achromatopsia (no color) | #3A3A3A | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #373271
#373271
oklch(35.8% 0.105 283.3)
- #443E00
#443E00
oklch(35.9% 0.076 103.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 #373271, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.058
- Dark Slate Blue #483D8B ΔE 0.060
- Twilight Blue #0A437A ΔE 0.061
- Prussian Blue #1D3557 ΔE 0.061
- Marine #042E60 ΔE 0.071
- Cobalt #1E488F ΔE 0.076
- Blueberry #464196 ΔE 0.076
- Dark Grey Blue #29465B ΔE 0.079
Use #373271 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.