#51309C
Closest named color: Blueberry (#464196). oklch(41.5% 0.165 291.6), rgb(81, 48, 156).
Aa
White text reads best on this color (9.32:1).
About this color
#51309C is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.165 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.042 away. White text reads best on it, at 9.32:1.
| Hue family | Purples |
| Lightness | dark (42%) |
| Chroma | vivid (0.165) |
| Temperature | in between |
| Nearest name | Blueberry (#464196) |
| Black text | 2.25:1 |
| White text | 9.32:1 |
Values
| HEX | #51309C |
| RGB | rgb(81, 48, 156) |
| HSL | hsl(258, 53%, 40%) |
| OKLCH | oklch(41.5% 0.165 291.6) |
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 #51309C | 9.32:1 | AAA | Lc -95.3 | Preferred for body text |
| Black text on #51309C | 2.25:1 | Fails | Lc 13.0 | Not readable |
| #51309C text on white | 9.32:1 | AAA | Lc 90.9 | Preferred for body text |
| #51309C text on black | 2.25:1 | Fails | Lc -11.4 | 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
#EAE7FC
oklch(93.7% 0.028 292.4)
-
Step 200
200
#D9D3FB
oklch(88.4% 0.055 292.1)
-
Step 300
300
#C1B6FB
oklch(81% 0.097 291.4)
-
Step 400
400
#A38CF8
oklch(70.6% 0.155 291.7)
-
Step 500
500
#8F6BF5
oklch(63.1% 0.198 291.7)
-
Step 600
600
#7A4EE4
oklch(55.6% 0.215 291.3)
-
Step 700
700
#683DC6
oklch(49.2% 0.2 291.7)
-
Step 800
800 (this color)
#51309C
oklch(41.5% 0.165 291.6)
-
Step 900
900
#452F7F
oklch(37.7% 0.129 291.7)
-
Step 950
950
#281D4A
oklch(27.1% 0.08 291.4)
#51309C 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) | #00489F | 0.093 |
| Deuteranopia (no green cones) | #00459A | 0.093 |
| Tritanopia (no blue cones) | #394B62 | 0.132 |
| Achromatopsia (no color) | #474747 | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #51309C
#51309C
oklch(41.5% 0.165 291.6)
- #4E5000
#4E5000
oklch(41.6% 0.092 111.4)
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 #51309C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.042
- Rebecca Purple #663399 ΔE 0.042
- Dark Slate Blue #483D8B ΔE 0.043
- Chrysanthemum #560BAD ΔE 0.052
- Imperial Purple #480CA8 ΔE 0.056
- Indigo Blue #3A18B1 ΔE 0.069
- Blue With A Hint Of Purple #533CC6 ΔE 0.073
- Sapphire #2138AB ΔE 0.075
Use #51309C 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.