#510E46
Closest named color: Deep Violet (#490648). oklch(30.8% 0.118 335.7), rgb(81, 14, 70).
Aa
White text reads best on this color (13.98:1).
About this color
#510E46 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.118 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.025 away. White text reads best on it, at 13.98:1.
| Hue family | Purples |
| Lightness | dark (31%) |
| Chroma | moderately saturated (0.118) |
| Temperature | warm |
| Nearest name | Deep Violet (#490648) |
| Black text | 1.50:1 |
| White text | 13.98:1 |
Values
| HEX | #510E46 |
| RGB | rgb(81, 14, 70) |
| HSL | hsl(310, 71%, 19%) |
| OKLCH | oklch(30.8% 0.118 335.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 #510E46 | 13.98:1 | AAA | Lc -102.9 | Preferred for body text |
| Black text on #510E46 | 1.50:1 | Fails | Lc 0.0 | Not readable |
| #510E46 text on white | 13.98:1 | AAA | Lc 99.8 | Preferred for body text |
| #510E46 text on black | 1.50: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 950.
-
Step 50
50
#FEF1FA
oklch(97.1% 0.018 336.5)
-
Step 100
100
#FCE0F4
oklch(93.5% 0.04 336.1)
-
Step 200
200
#FBC6ED
oklch(88.5% 0.078 335.9)
-
Step 300
300
#F89DE3
oklch(80.9% 0.138 335.7)
-
Step 400
400
#F05DD5
oklch(70.7% 0.223 335.6)
-
Step 500
500
#E500C8
oklch(63% 0.28 335.6)
-
Step 600
600
#C200A9
oklch(55.7% 0.247 335.7)
-
Step 700
700
#A4008E
oklch(49.1% 0.217 335.9)
-
Step 800
800
#870075
oklch(42.6% 0.189 335.7)
-
Step 900
900
#720062
oklch(37.7% 0.167 336)
-
Step 950
950 (this color)
#510E46
oklch(30.8% 0.118 335.7)
#510E46 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) | #0F2647 | 0.129 |
| Deuteranopia (no green cones) | #272F44 | 0.109 |
| Tritanopia (no blue cones) | #561329 | 0.058 |
| Achromatopsia (no color) | #2C2C2C | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #510E46
#510E46
oklch(30.8% 0.118 335.7)
- #003B1F
#003B1F
oklch(31% 0.076 155.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 #510E46, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Violet #490648 ΔE 0.025
- Plum Purple #4E0550 ΔE 0.025
- Grape Purple #5D1451 ΔE 0.034
- Eggplant Purple #430541 ΔE 0.039
- Aubergine #3D0734 ΔE 0.058
- Dark Plum #3F012C ΔE 0.066
- Eggplant #380835 ΔE 0.067
- Dark Purple #35063E ΔE 0.071
Use #510E46 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.