#512346
Closest named color: Grape Purple (#5D1451). oklch(33.5% 0.085 337.3), rgb(81, 35, 70).
Aa
White text reads best on this color (12.50:1).
About this color
#512346 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.085 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.043 away. White text reads best on it, at 12.50:1.
| Hue family | Purples |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.085) |
| Temperature | warm |
| Nearest name | Grape Purple (#5D1451) |
| Black text | 1.67:1 |
| White text | 12.50:1 |
Values
| HEX | #512346 |
| RGB | rgb(81, 35, 70) |
| HSL | hsl(314, 40%, 23%) |
| OKLCH | oklch(33.5% 0.085 337.3) |
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 #512346 | 12.50:1 | AAA | Lc -101.5 | Preferred for body text |
| Black text on #512346 | 1.67:1 | Fails | Lc 0.0 | Not readable |
| #512346 text on white | 12.50:1 | AAA | Lc 98.1 | Preferred for body text |
| #512346 text on black | 1.67: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
#F9F3F7
oklch(97% 0.008 337.4)
-
Step 100
100
#F2E5EE
oklch(93.5% 0.018 336.6)
-
Step 200
200
#E9D1E2
oklch(88.5% 0.035 336.2)
-
Step 300
300
#DCB1CF
oklch(80.8% 0.064 337.4)
-
Step 400
400
#C988B7
oklch(70.7% 0.1 337.3)
-
Step 500
500
#BA68A5
oklch(63% 0.13 337.4)
-
Step 600
600
#A54E91
oklch(55.5% 0.141 336.9)
-
Step 700
700
#8D3F7B
oklch(49.1% 0.13 337.1)
-
Step 800
800
#733464
oklch(42.7% 0.109 337.3)
-
Step 900
900 (this color)
#512346
oklch(33.5% 0.085 337.3)
-
Step 950
950
#371B30
oklch(27% 0.055 337)
#512346 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) | #242F47 | 0.088 |
| Deuteranopia (no green cones) | #313645 | 0.078 |
| Tritanopia (no blue cones) | #552531 | 0.041 |
| Achromatopsia (no color) | #343434 | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #512346
#512346
oklch(33.5% 0.085 337.3)
- #004226
#004226
oklch(33.4% 0.078 157.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 #512346, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grape Purple #5D1451 ΔE 0.043
- Plum Purple #4E0550 ΔE 0.061
- Deep Violet #490648 ΔE 0.062
- Eggplant Purple #430541 ΔE 0.071
- Burgundy #610023 ΔE 0.074
- Space Cadet #2B2D42 ΔE 0.078
- Merlot #730039 ΔE 0.080
- Aubergine #3D0734 ΔE 0.082
Use #512346 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.