#51399A
Closest named color: Blueberry (#464196). oklch(42.7% 0.151 289.9), rgb(81, 57, 154).
Aa
White text reads best on this color (8.74:1).
About this color
#51399A is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.151 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.026 away. White text reads best on it, at 8.74:1.
| Hue family | Purples |
| Lightness | dark (43%) |
| Chroma | vivid (0.151) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.40:1 |
| White text | 8.74:1 |
Values
| HEX | #51399A |
| RGB | rgb(81, 57, 154) |
| HSL | hsl(255, 46%, 41%) |
| OKLCH | oklch(42.7% 0.151 289.9) |
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 #51399A | 8.74:1 | AAA | Lc -94.1 | Preferred for body text |
| Black text on #51399A | 2.40:1 | Fails | Lc 14.4 | Not readable |
| #51399A text on white | 8.74:1 | AAA | Lc 89.5 | Fine for body text |
| #51399A text on black | 2.40:1 | Fails | Lc -12.7 | 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
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E9E7FA
oklch(93.5% 0.026 290.7)
-
Step 200
200
#D8D4F8
oklch(88.4% 0.049 290.4)
-
Step 300
300
#BFB7F6
oklch(80.8% 0.088 290.1)
-
Step 400
400
#A090F2
oklch(70.8% 0.141 289.8)
-
Step 500
500
#8B70ED
oklch(63.1% 0.181 290.2)
-
Step 600
600
#7655DB
oklch(55.6% 0.195 289.9)
-
Step 700
700
#6444BE
oklch(49.1% 0.182 290.1)
-
Step 800
800 (this color)
#51399A
oklch(42.7% 0.151 289.9)
-
Step 900
900
#43327A
oklch(37.6% 0.118 290.5)
-
Step 950
950
#271E48
oklch(27% 0.075 290.3)
#51399A 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) | #004D9D | 0.087 |
| Deuteranopia (no green cones) | #004998 | 0.086 |
| Tritanopia (no blue cones) | #3A5064 | 0.123 |
| Achromatopsia (no color) | #4B4B4B | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #51399A
#51399A
oklch(42.7% 0.151 289.9)
- #535300
#535300
oklch(42.8% 0.093 109.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 #51399A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.026
- Dark Slate Blue #483D8B ΔE 0.030
- Rebecca Purple #663399 ΔE 0.040
- Twilight #4E518B ΔE 0.069
- Chrysanthemum #560BAD ΔE 0.070
- Blue With A Hint Of Purple #533CC6 ΔE 0.071
- Imperial Purple #480CA8 ΔE 0.074
- Sapphire #2138AB ΔE 0.075
Use #51399A 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.