#512DAC
Closest named color: Chrysanthemum (#560BAD). oklch(42.5% 0.188 288.7), rgb(81, 45, 172).
Aa
White text reads best on this color (9.04:1).
About this color
#512DAC is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.188 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Chrysanthemum (#560BAD), ΔE 0.040 away. White text reads best on it, at 9.04:1.
| Hue family | Purples |
| Lightness | dark (43%) |
| Chroma | vivid (0.188) |
| Temperature | cool |
| Nearest name | Chrysanthemum (#560BAD) |
| Black text | 2.32:1 |
| White text | 9.04:1 |
Values
| HEX | #512DAC |
| RGB | rgb(81, 45, 172) |
| HSL | hsl(257, 59%, 43%) |
| OKLCH | oklch(42.5% 0.188 288.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 #512DAC | 9.04:1 | AAA | Lc -94.5 | Preferred for body text |
| Black text on #512DAC | 2.32:1 | Fails | Lc 14.0 | Not readable |
| #512DAC text on white | 9.04:1 | AAA | Lc 90.0 | Fine for body text |
| #512DAC text on black | 2.32:1 | Fails | Lc -12.3 | 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
#F5F4FF
oklch(97.1% 0.015 290.3)
-
Step 100
100
#E8E7FF
oklch(93.6% 0.032 287.7)
-
Step 200
200
#D7D3FF
oklch(88.4% 0.06 289.3)
-
Step 300
300
#BEB6FF
oklch(80.9% 0.102 288.9)
-
Step 400
400
#9E8CFF
oklch(70.6% 0.164 288.7)
-
Step 500
500
#8A6AFF
oklch(63.2% 0.212 288.7)
-
Step 600
600
#7745F5
oklch(55.6% 0.244 288.8)
-
Step 700
700
#6434D6
oklch(49.1% 0.228 288.5)
-
Step 800
800 (this color)
#512DAC
oklch(42.5% 0.188 288.7)
-
Step 900
900
#432C89
oklch(37.8% 0.147 288.8)
-
Step 950
950
#271B50
oklch(27.1% 0.093 289.1)
#512DAC 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) | #004BB0 | 0.094 |
| Deuteranopia (no green cones) | #0045AA | 0.091 |
| Tritanopia (no blue cones) | #2E4F6A | 0.151 |
| Achromatopsia (no color) | #494949 | 0.189 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #512DAC
#512DAC
oklch(42.5% 0.188 288.7)
- #535200
#535200
oklch(42.6% 0.092 108.9)
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 #512DAC, closest first.
No curated palette has a color within ΔE 0.04 of #512DAC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chrysanthemum #560BAD ΔE 0.040
- Imperial Purple #480CA8 ΔE 0.048
- Blue With A Hint Of Purple #533CC6 ΔE 0.052
- Rebecca Purple #663399 ΔE 0.055
- Violet Blue #510AC9 ΔE 0.055
- Indigo Blue #3A18B1 ΔE 0.056
- Blueberry #464196 ΔE 0.057
- Blurple #5539CC ΔE 0.058
Use #512DAC 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.