#504BA8
Closest named color: Blueberry (#464196). oklch(46.9% 0.145 281.7), rgb(80, 75, 168).
Aa
White text reads best on this color (7.20:1).
About this color
#504BA8 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.145 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.041 away. White text reads best on it, at 7.20:1.
| Hue family | Purples |
| Lightness | medium-dark (47%) |
| Chroma | vivid (0.145) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.91:1 |
| White text | 7.20:1 |
Values
| HEX | #504BA8 |
| RGB | rgb(80, 75, 168) |
| HSL | hsl(243, 38%, 48%) |
| OKLCH | oklch(46.9% 0.145 281.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 #504BA8 | 7.20:1 | AAA | Lc -89.7 | Fine for body text |
| Black text on #504BA8 | 2.91:1 | Fails | Lc 19.3 | Dividers and decoration only |
| #504BA8 text on white | 7.20:1 | AAA | Lc 84.7 | Fine for body text |
| #504BA8 text on black | 2.91:1 | Fails | Lc -17.3 | 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
#F4F5FC
oklch(97.1% 0.009 279.7)
-
Step 100
100
#E7E9F8
oklch(93.7% 0.02 279.9)
-
Step 200
200
#D4D7F3
oklch(88.6% 0.039 280.7)
-
Step 300
300
#B8BCEE
oklch(80.9% 0.071 281.1)
-
Step 400
400
#9598E5
oklch(70.8% 0.112 281.4)
-
Step 500
500
#7D7CDD
oklch(63.1% 0.143 282)
-
Step 600
600
#6763CB
oklch(55.6% 0.156 281.8)
-
Step 700
700 (this color)
#504BA8
oklch(46.9% 0.145 281.7)
-
Step 800
800
#46438E
oklch(42.6% 0.121 281.8)
-
Step 900
900
#3A3971
oklch(37.5% 0.094 281.7)
-
Step 950
950
#222242
oklch(27% 0.059 281.7)
#504BA8 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) | #125AAB | 0.066 |
| Deuteranopia (no green cones) | #0254A6 | 0.069 |
| Tritanopia (no blue cones) | #2C6072 | 0.124 |
| Achromatopsia (no color) | #575757 | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #504BA8
#504BA8
oklch(46.9% 0.145 281.7)
- #665C00
#665C00
oklch(47% 0.098 102.1)
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 #504BA8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.041
- Twilight #4E518B ΔE 0.052
- Blue With A Hint Of Purple #533CC6 ΔE 0.058
- Dark Slate Blue #483D8B ΔE 0.059
- Bluey Purple #6241C7 ΔE 0.060
- Iris #6258C4 ΔE 0.061
- Denim Blue #3B5B92 ΔE 0.065
- Rebecca Purple #663399 ΔE 0.066
Use #504BA8 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.