#5831A5
Closest named color: Rebecca Purple (#663399). oklch(43.1% 0.175 293), rgb(88, 49, 165).
Aa
White text reads best on this color (8.75:1).
About this color
#5831A5 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.175 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.035 away. White text reads best on it, at 8.75:1.
| Hue family | Purples |
| Lightness | dark (43%) |
| Chroma | vivid (0.175) |
| Temperature | in between |
| Nearest name | Rebecca Purple (#663399) |
| Black text | 2.39:1 |
| White text | 8.75:1 |
Values
| HEX | #5831A5 |
| RGB | rgb(88, 49, 165) |
| HSL | hsl(260, 54%, 42%) |
| OKLCH | oklch(43.1% 0.175 293) |
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 #5831A5 | 8.75:1 | AAA | Lc -93.9 | Preferred for body text |
| Black text on #5831A5 | 2.39:1 | Fails | Lc 14.6 | Not readable |
| #5831A5 text on white | 8.75:1 | AAA | Lc 89.3 | Fine for body text |
| #5831A5 text on black | 2.39:1 | Fails | Lc -12.9 | 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 800.
-
Step 50
50
#F5F4FE
oklch(97.1% 0.013 290.8)
-
Step 100
100
#EAE7FD
oklch(93.7% 0.03 292.1)
-
Step 200
200
#DAD3FC
oklch(88.5% 0.056 293)
-
Step 300
300
#C3B4FD
oklch(80.8% 0.103 293.4)
-
Step 400
400
#A68AFC
oklch(70.7% 0.163 293.1)
-
Step 500
500
#9267FA
oklch(63.1% 0.21 292.9)
-
Step 600
600
#7E48E9
oklch(55.6% 0.228 292.8)
-
Step 700
700
#6B37CA
oklch(49% 0.212 293.1)
-
Step 800
800 (this color)
#5831A5
oklch(43.1% 0.175 293)
-
Step 900
900
#472C82
oklch(37.7% 0.137 293.1)
-
Step 950
950
#291B4C
oklch(27% 0.087 292.8)
#5831A5 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) | #004CA8 | 0.102 |
| Deuteranopia (no green cones) | #0049A3 | 0.101 |
| Tritanopia (no blue cones) | #414E67 | 0.138 |
| Achromatopsia (no color) | #4B4B4B | 0.176 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5831A5
#5831A5
oklch(43.1% 0.175 293)
- #515500
#515500
oklch(43.1% 0.096 112.9)
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 #5831A5, closest first.
No curated palette has a color within ΔE 0.04 of #5831A5.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rebecca Purple #663399 ΔE 0.035
- Chrysanthemum #560BAD ΔE 0.049
- Blueberry #464196 ΔE 0.050
- Dark Slate Blue #483D8B ΔE 0.056
- Blue With A Hint Of Purple #533CC6 ΔE 0.058
- Imperial Purple #480CA8 ΔE 0.062
- Blurple #5539CC ΔE 0.065
- Bluey Purple #6241C7 ΔE 0.066
Use #5831A5 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.