#562D71
Closest named color: Dark Slate Blue (#483D8B). oklch(38.3% 0.117 309.8), rgb(86, 45, 113).
Aa
White text reads best on this color (10.45:1).
About this color
#562D71 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.117 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.059 away. White text reads best on it, at 10.45:1.
| Hue family | Purples |
| Lightness | dark (38%) |
| Chroma | moderately saturated (0.117) |
| Temperature | in between |
| Nearest name | Dark Slate Blue (#483D8B) |
| Black text | 2.00:1 |
| White text | 10.45:1 |
Values
| HEX | #562D71 |
| RGB | rgb(86, 45, 113) |
| HSL | hsl(276, 43%, 31%) |
| OKLCH | oklch(38.3% 0.117 309.8) |
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 #562D71 | 10.45:1 | AAA | Lc -97.9 | Preferred for body text |
| Black text on #562D71 | 2.00:1 | Fails | Lc 10.0 | Not readable |
| #562D71 text on white | 10.45:1 | AAA | Lc 93.9 | Preferred for body text |
| #562D71 text on black | 2.00:1 | Fails | Lc -8.7 | 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
#F8F3FC
oklch(97.1% 0.013 310.5)
-
Step 100
100
#EFE6F7
oklch(93.7% 0.025 309.4)
-
Step 200
200
#E3D1F2
oklch(88.5% 0.049 309.7)
-
Step 300
300
#D2B1EC
oklch(80.9% 0.089 309.8)
-
Step 400
400
#BB86E2
oklch(70.7% 0.141 309.7)
-
Step 500
500
#AA64D9
oklch(63% 0.18 309.8)
-
Step 600
600
#9647C7
oklch(55.6% 0.196 309.9)
-
Step 700
700
#8037AC
oklch(49.1% 0.183 309.9)
-
Step 800
800
#682F8B
oklch(42.7% 0.151 310)
-
Step 900
900 (this color)
#562D71
oklch(38.3% 0.117 309.8)
-
Step 950
950
#311A41
oklch(26.9% 0.074 309.5)
#562D71 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) | #163E73 | 0.100 |
| Deuteranopia (no green cones) | #26406F | 0.089 |
| Tritanopia (no blue cones) | #52394A | 0.082 |
| Achromatopsia (no color) | #3F3F3F | 0.118 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #562D71
#562D71
oklch(38.3% 0.117 309.8)
- #304D00
#304D00
oklch(38.2% 0.103 130)
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 #562D71, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Blue #483D8B ΔE 0.059
- Grape Purple #5D1451 ΔE 0.069
- Rebecca Purple #663399 ΔE 0.073
- Royal Purple #4B006E ΔE 0.078
- Blueberry #464196 ΔE 0.078
- Indigo #4B0082 ΔE 0.079
- Rich Purple #720058 ΔE 0.087
- Plum Purple #4E0550 ΔE 0.090
Use #562D71 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.