#381958
Closest named color: Deep Violet (#490648). oklch(29.5% 0.109 302.8), rgb(56, 25, 88).
Aa
White text reads best on this color (14.50:1).
About this color
#381958 is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.109 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.055 away. White text reads best on it, at 14.50:1.
| Hue family | Purples |
| Lightness | dark (29%) |
| Chroma | moderately saturated (0.109) |
| Temperature | in between |
| Nearest name | Deep Violet (#490648) |
| Black text | 1.44:1 |
| White text | 14.50:1 |
Values
| HEX | #381958 |
| RGB | rgb(56, 25, 88) |
| HSL | hsl(270, 56%, 22%) |
| OKLCH | oklch(29.5% 0.109 302.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 #381958 | 14.50:1 | AAA | Lc -103.9 | Preferred for body text |
| Black text on #381958 | 1.44:1 | Fails | Lc 0.0 | Not readable |
| #381958 text on white | 14.50:1 | AAA | Lc 100.9 | Preferred for body text |
| #381958 text on black | 1.44: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
#F7F3FF
oklch(97.1% 0.016 301.2)
-
Step 100
100
#EEE4FF
oklch(93.5% 0.038 302.5)
-
Step 200
200
#E2CFFF
oklch(88.5% 0.068 303.1)
-
Step 300
300
#CFAEFF
oklch(80.8% 0.117 302.6)
-
Step 400
400
#B97EFF
oklch(70.7% 0.188 303)
-
Step 500
500
#A953FF
oklch(63.1% 0.243 302.9)
-
Step 600
600
#980FF8
oklch(55.6% 0.286 302.7)
-
Step 700
700
#8100D5
oklch(49.1% 0.258 302.7)
-
Step 800
800
#6A06AF
oklch(42.8% 0.221 302.9)
-
Step 900
900
#55198A
oklch(37.7% 0.172 302.6)
-
Step 950
950 (this color)
#381958
oklch(29.5% 0.109 302.8)
#381958 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) | #00295A | 0.083 |
| Deuteranopia (no green cones) | #022957 | 0.082 |
| Tritanopia (no blue cones) | #322736 | 0.079 |
| Achromatopsia (no color) | #292929 | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #381958
#381958
oklch(29.5% 0.109 302.8)
- #263200
#263200
oklch(29.5% 0.072 123)
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 #381958, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Violet #490648 ΔE 0.055
- Plum Purple #4E0550 ΔE 0.057
- Eggplant Purple #430541 ΔE 0.057
- Dark Purple #35063E ΔE 0.060
- Royal Purple #4B006E ΔE 0.060
- Deep Purple #36013F ΔE 0.064
- Dark Indigo #1F0954 ΔE 0.066
- Eggplant #380835 ΔE 0.071
Use #381958 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.