#38104A
Closest named color: Dark Purple (#35063E). oklch(27.1% 0.105 313.2), rgb(56, 16, 74).
Aa
White text reads best on this color (15.65:1).
About this color
#38104A is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.105 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.029 away. White text reads best on it, at 15.65:1.
| Hue family | Purples |
| Lightness | dark (27%) |
| Chroma | moderately saturated (0.105) |
| Temperature | in between |
| Nearest name | Dark Purple (#35063E) |
| Black text | 1.34:1 |
| White text | 15.65:1 |
Values
| HEX | #38104A |
| RGB | rgb(56, 16, 74) |
| HSL | hsl(281, 64%, 18%) |
| OKLCH | oklch(27.1% 0.105 313.2) |
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 #38104A | 15.65:1 | AAA | Lc -104.8 | Preferred for body text |
| Black text on #38104A | 1.34:1 | Fails | Lc 0.0 | Not readable |
| #38104A text on white | 15.65:1 | AAA | Lc 102.1 | Preferred for body text |
| #38104A text on black | 1.34: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
#F9F2FE
oklch(97% 0.017 311.6)
-
Step 100
100
#F3E3FC
oklch(93.6% 0.037 313.6)
-
Step 200
200
#E9CCFA
oklch(88.4% 0.069 313)
-
Step 300
300
#DDA8FA
oklch(80.9% 0.125 313.2)
-
Step 400
400
#CB74F7
oklch(70.7% 0.2 313.1)
-
Step 500
500
#BD43F3
oklch(63% 0.255 313.1)
-
Step 600
600
#A900E1
oklch(55.6% 0.276 313.2)
-
Step 700
700
#8F00BF
oklch(49.1% 0.244 313.2)
-
Step 800
800
#76009E
oklch(42.7% 0.212 313.3)
-
Step 900
900
#5F157E
oklch(37.7% 0.166 313)
-
Step 950
950 (this color)
#38104A
oklch(27.1% 0.105 313.2)
#38104A 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) | #00214C | 0.095 |
| Deuteranopia (no green cones) | #0B2449 | 0.088 |
| Tritanopia (no blue cones) | #361C2B | 0.070 |
| Achromatopsia (no color) | #232323 | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #38104A
#38104A
oklch(27.1% 0.105 313.2)
- #162E00
#162E00
oklch(27.1% 0.077 133.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 #38104A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Purple #35063E ΔE 0.029
- Eggplant Purple #430541 ΔE 0.033
- Deep Purple #36013F ΔE 0.033
- Deep Violet #490648 ΔE 0.040
- Eggplant #380835 ΔE 0.041
- Aubergine #3D0734 ΔE 0.044
- Plum Purple #4E0550 ΔE 0.051
- Dark Plum #3F012C ΔE 0.062
Use #38104A 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.