#5B4CCB
Closest named color: Bluey Purple (#6241C7). oklch(50.6% 0.189 282.7), rgb(91, 76, 203).
Aa
White text reads best on this color (6.28:1).
About this color
#5B4CCB is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.189 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.025 away. White text reads best on it, at 6.28:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | vivid (0.189) |
| Temperature | cool |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.34:1 |
| White text | 6.28:1 |
Values
| HEX | #5B4CCB |
| RGB | rgb(91, 76, 203) |
| HSL | hsl(247, 55%, 55%) |
| OKLCH | oklch(50.6% 0.189 282.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 #5B4CCB | 6.28:1 | AA | Lc -86.0 | Fine for body text |
| Black text on #5B4CCB | 3.34:1 | AA large text | Lc 23.2 | Dividers and decoration only |
| #5B4CCB text on white | 6.28:1 | AA | Lc 80.8 | Fine for body text |
| #5B4CCB text on black | 3.34:1 | AA large text | Lc -21.0 | 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 700.
-
Step 50
50
#F4F5FE
oklch(97.2% 0.012 281.1)
-
Step 100
100
#E7E8FC
oklch(93.6% 0.027 283.6)
-
Step 200
200
#D3D6FB
oklch(88.6% 0.051 281.6)
-
Step 300
300
#B7BAFA
oklch(80.9% 0.09 282.1)
-
Step 400
400
#9493F8
oklch(70.7% 0.146 282.5)
-
Step 500
500
#7D74F5
oklch(63.1% 0.187 282.8)
-
Step 600
600
#6858E4
oklch(55.6% 0.204 282.7)
-
Step 700
700 (this color)
#5B4CCB
oklch(50.6% 0.189 282.7)
-
Step 800
800
#473BA0
oklch(42.6% 0.157 282.9)
-
Step 900
900
#3B347F
oklch(37.7% 0.122 283)
-
Step 950
950
#221F4A
oklch(26.9% 0.077 283)
#5B4CCB 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) | #0064CF | 0.084 |
| Deuteranopia (no green cones) | #005CC8 | 0.080 |
| Tritanopia (no blue cones) | #266B84 | 0.160 |
| Achromatopsia (no color) | #606060 | 0.190 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B4CCB
#5B4CCB
oklch(50.6% 0.189 282.7)
- #716700
#716700
oklch(50.7% 0.107 102.8)
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 #5B4CCB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.025
- Iris #6258C4 ΔE 0.033
- Blue With A Hint Of Purple #533CC6 ΔE 0.038
- Warm Blue #4B57DB ΔE 0.039
- Blurple #5539CC ΔE 0.040
- Slate Blue #6A5ACD ΔE 0.042
- Light Indigo #6D5ACF ΔE 0.046
- Dark Periwinkle #665FD1 ΔE 0.049
Use #5B4CCB 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.