#504795
Closest named color: Blueberry (#464196). oklch(44.8% 0.123 285.5), rgb(80, 71, 149).
Aa
White text reads best on this color (7.84:1).
About this color
#504795 is a dark, moderately saturated purple. In OKLCH its lightness is 45%, its chroma 0.123 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.024 away. White text reads best on it, at 7.84:1.
| Hue family | Purples |
| Lightness | dark (45%) |
| Chroma | moderately saturated (0.123) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.67:1 |
| White text | 7.84:1 |
Values
| HEX | #504795 |
| RGB | rgb(80, 71, 149) |
| HSL | hsl(247, 35%, 43%) |
| OKLCH | oklch(44.8% 0.123 285.5) |
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 #504795 | 7.84:1 | AAA | Lc -91.8 | Preferred for body text |
| Black text on #504795 | 2.67:1 | Fails | Lc 17.0 | Dividers and decoration only |
| #504795 text on white | 7.84:1 | AAA | Lc 87.0 | Fine for body text |
| #504795 text on black | 2.67:1 | Fails | Lc -15.1 | 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
#F5F5FC
oklch(97.2% 0.009 286.2)
-
Step 100
100
#E8E8F8
oklch(93.6% 0.022 286)
-
Step 200
200
#D6D6F3
oklch(88.5% 0.04 285.6)
-
Step 300
300
#BCBBEE
oklch(81% 0.072 285.6)
-
Step 400
400
#9A96E5
oklch(70.8% 0.114 285.4)
-
Step 500
500
#8379DE
oklch(63.1% 0.148 285.8)
-
Step 600
600
#6D60CB
oklch(55.5% 0.16 285.5)
-
Step 700
700
#5C4FB0
oklch(49.2% 0.149 285.7)
-
Step 800
800 (this color)
#504795
oklch(44.8% 0.123 285.5)
-
Step 900
900
#3E3872
oklch(37.8% 0.096 285.5)
-
Step 950
950
#242143
oklch(27% 0.062 285.5)
#504795 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) | #235498 | 0.060 |
| Deuteranopia (no green cones) | #214F93 | 0.059 |
| Tritanopia (no blue cones) | #3A5867 | 0.105 |
| Achromatopsia (no color) | #525252 | 0.124 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #504795
#504795
oklch(44.8% 0.123 285.5)
- #5C5700
#5C5700
oklch(44.7% 0.095 105.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 #504795, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.024
- Dark Slate Blue #483D8B ΔE 0.033
- Twilight #4E518B ΔE 0.034
- Dusk #4E5481 ΔE 0.053
- Rebecca Purple #663399 ΔE 0.058
- Denim Blue #3B5B92 ΔE 0.060
- Dusk Blue #26538D ΔE 0.061
- Cobalt #1E488F ΔE 0.064
Use #504795 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.