#652F9C#652F9C
#652F9C is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.169 H 302.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #652F9C |
|---|---|
| RGB | rgb(101, 47, 156) |
| HSL | hsl(270, 54%, 40%) |
| HSV | hsv(270, 70%, 61%) |
| CMYK | cmyk(35.3%, 69.9%, 0%, 38.8%) |
| CIE-LAB | lab(32.26, 45.46, -50.02) |
| CIE-LCH | lch(32.26, 67.60, 312.27°) |
| OKLab | oklab(43.61% 0.0909 -0.1423) |
| OKLCH | oklch(43.61% 0.169 302.6) |
| XYZ | xyz(12.3827, 7.2000, 32.1834) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.11
Purple (survey)
#7E1E9C
ΔE00 5.27
Darkslateblue
#483D8B
ΔE00 7.73
Purple Blue
#5D21D0
ΔE00 7.76
Ocean Blue
#4F42B5
ΔE00 7.89
Bluey Purple
#6241C7
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#652F9C #669C2F
analogous
#2F2F9C #652F9C #9C2F9C
triadic
#652F9C #9C652F #2F9C65
tetradic
#652F9C #9C2F2F #669C2F #2F9C9C
square
#652F9C #9C2F2F #669C2F #2F9C9C
split-complementary
#652F9C #9C9C2F #2F9C2F
monochromatic
#28133E #47216D #652F9C #8342C6 #A271D4
Accessibility & contrast
On white
8.61
#652F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#652F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #652F9C
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##652F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##652F9C | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#5A4862
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #652f9c; /* rgb */ color: rgb(101, 47, 156); /* oklch */ color: oklch(43.6% 0.169 302.6);
Tailwind
colors: {
custom: {
50: '#966cba',
500: '#652f9c',
950: '#000000',
},
}SCSS
$custom: #652f9c; $custom-light: #966cba; $custom-dark: #000000;
JSON
{
"hex": "#652f9c",
"rgb": {
"r": 101,
"g": 47,
"b": 156
},
"hsl": {
"h": 269.725,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.43607,
"c": 0.1689,
"h": 302.6
},
"luminance": 0.072
}Semantic roles & 50–950 ramp
primary
#652F9C
secondary
#94BC6B
accent
#DD4B95
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81