#5C38B3
Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(45.7% 0.184 290.7), rgb(92, 56, 179).
Aa
White text reads best on this color (7.86:1).
About this color
#5C38B3 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.184 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.035 away. White text reads best on it, at 7.86:1.
| Hue family | Purples |
| Lightness | medium-dark (46%) |
| Chroma | vivid (0.184) |
| Temperature | in between |
| Nearest name | Blue With A Hint Of Purple (#533CC6) |
| Black text | 2.67:1 |
| White text | 7.86:1 |
Values
| HEX | #5C38B3 |
| RGB | rgb(92, 56, 179) |
| HSL | hsl(258, 52%, 46%) |
| OKLCH | oklch(45.7% 0.184 290.7) |
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 #5C38B3 | 7.86:1 | AAA | Lc -91.4 | Preferred for body text |
| Black text on #5C38B3 | 2.67:1 | Fails | Lc 17.4 | Dividers and decoration only |
| #5C38B3 text on white | 7.86:1 | AAA | Lc 86.7 | Fine for body text |
| #5C38B3 text on black | 2.67:1 | Fails | Lc -15.4 | Dividers and decoration only |
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 800.
-
Step 50
50
#F5F4FF
oklch(97.1% 0.015 290.3)
-
Step 100
100
#E9E7FE
oklch(93.6% 0.031 289.8)
-
Step 200
200
#D8D3FE
oklch(88.5% 0.059 290.5)
-
Step 300
300
#C0B5FF
oklch(80.9% 0.104 290.7)
-
Step 400
400
#A28BFF
oklch(70.7% 0.166 290.7)
-
Step 500
500
#8E67FF
oklch(63.1% 0.216 290.7)
-
Step 600
600
#7B46F0
oklch(55.6% 0.238 290.9)
-
Step 700
700
#6835D1
oklch(49.1% 0.221 290.8)
-
Step 800
800 (this color)
#5C38B3
oklch(45.7% 0.184 290.7)
-
Step 900
900
#452C86
oklch(37.8% 0.143 290.7)
-
Step 950
950
#281B4E
oklch(27% 0.09 290.9)
#5C38B3 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) | #0054B7 | 0.102 |
| Deuteranopia (no green cones) | #004FB1 | 0.099 |
| Tritanopia (no blue cones) | #405771 | 0.147 |
| Achromatopsia (no color) | #525252 | 0.184 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5C38B3
#5C38B3
oklch(45.7% 0.184 290.7)
- #5A5C00
#5A5C00
oklch(45.8% 0.101 111.2)
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 #5C38B3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue With A Hint Of Purple #533CC6 ΔE 0.035
- Bluey Purple #6241C7 ΔE 0.038
- Blurple #5539CC ΔE 0.042
- Rebecca Purple #663399 ΔE 0.047
- Purple Blue #5D21D0 ΔE 0.054
- Majorelle Blue #3F37C9 ΔE 0.061
- Blueberry #464196 ΔE 0.062
- Chrysanthemum #560BAD ΔE 0.064
Use #5C38B3 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.