#51196B
Closest named color: Royal Purple (#4B006E). oklch(34.5% 0.138 312.6), rgb(81, 25, 107).
Aa
White text reads best on this color (12.34:1).
About this color
#51196B is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.138 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.036 away. White text reads best on it, at 12.34:1.
| Hue family | Purples |
| Lightness | dark (34%) |
| Chroma | moderately saturated (0.138) |
| Temperature | in between |
| Nearest name | Royal Purple (#4B006E) |
| Black text | 1.70:1 |
| White text | 12.34:1 |
Values
| HEX | #51196B |
| RGB | rgb(81, 25, 107) |
| HSL | hsl(281, 62%, 26%) |
| OKLCH | oklch(34.5% 0.138 312.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 #51196B | 12.34:1 | AAA | Lc -100.9 | Preferred for body text |
| Black text on #51196B | 1.70:1 | Fails | Lc 0.0 | Not readable |
| #51196B text on white | 12.34:1 | AAA | Lc 97.3 | Preferred for body text |
| #51196B text on black | 1.70:1 | Fails | Lc 0.0 | 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 900.
-
Step 50
50
#F9F3FC
oklch(97.1% 0.013 314.8)
-
Step 100
100
#F1E4F9
oklch(93.5% 0.031 312.9)
-
Step 200
200
#E6CFF5
oklch(88.5% 0.057 312.1)
-
Step 300
300
#D8ADF1
oklch(80.9% 0.104 312.8)
-
Step 400
400
#C47EEA
oklch(70.7% 0.167 312.7)
-
Step 500
500
#B457E3
oklch(63% 0.213 312.5)
-
Step 600
600
#A035D1
oklch(55.7% 0.231 312.5)
-
Step 700
700
#8924B5
oklch(49.1% 0.215 312.6)
-
Step 800
800
#6F2292
oklch(42.7% 0.177 312.6)
-
Step 900
900 (this color)
#51196B
oklch(34.5% 0.138 312.6)
-
Step 950
950
#351644
oklch(27% 0.087 313.1)
#51196B 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) | #00326D | 0.122 |
| Deuteranopia (no green cones) | #103669 | 0.116 |
| Tritanopia (no blue cones) | #4E2B40 | 0.093 |
| Achromatopsia (no color) | #353535 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #51196B
#51196B
oklch(34.5% 0.138 312.6)
- #244300
#244300
oklch(34.5% 0.097 132.7)
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 #51196B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Purple #4B006E ΔE 0.036
- Indigo #4B0082 ΔE 0.051
- Grape Purple #5D1451 ΔE 0.054
- Plum Purple #4E0550 ΔE 0.055
- Deep Violet #490648 ΔE 0.069
- Rich Purple #720058 ΔE 0.081
- Eggplant Purple #430541 ΔE 0.085
- Velvet #750851 ΔE 0.093
Use #51196B 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.