#652A9C#652A9C
#652A9C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.175 H 303.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #652A9C |
|---|---|
| RGB | rgb(101, 42, 156) |
| HSL | hsl(271, 58%, 39%) |
| HSV | hsv(271, 73%, 61%) |
| CMYK | cmyk(35.3%, 73.1%, 0%, 38.8%) |
| CIE-LAB | lab(31.40, 47.87, -51.41) |
| CIE-LCH | lch(31.40, 70.25, 312.95°) |
| OKLab | oklab(43% 0.0962 -0.1464) |
| OKLCH | oklch(43% 0.175 303.3) |
| XYZ | xyz(12.1941, 6.8229, 32.1206) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.02
Purple (survey)
#7E1E9C
ΔE00 4.94
Purple Blue
#5D21D0
ΔE00 7.57
Violet Blue
#510AC9
ΔE00 7.88
Indigo Blue
#3A18B1
ΔE00 8.06
Indigo
#4B0082
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#652A9C #619C2A
analogous
#2C2A9C #652A9C #9C2A9A
triadic
#652A9C #9C652A #2A9C65
tetradic
#652A9C #9C2C2A #619C2A #2A9A9C
square
#652A9C #9C2C2A #619C2A #2A9A9C
split-complementary
#652A9C #9A9C2A #2A9C2C
monochromatic
#27103C #461D6C #652A9C #8439CA #A26AD7
Accessibility & contrast
On white
8.88
#652A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#652A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #652A9C
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##652A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##652A9C | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#5A4660
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #652a9c; /* rgb */ color: rgb(101, 42, 156); /* oklch */ color: oklch(43.0% 0.175 303.3);
Tailwind
colors: {
custom: {
50: '#9669ba',
500: '#652a9c',
950: '#000000',
},
}SCSS
$custom: #652a9c; $custom-light: #9669ba; $custom-dark: #000000;
JSON
{
"hex": "#652a9c",
"rgb": {
"r": 101,
"g": 42,
"b": 156
},
"hsl": {
"h": 271.053,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.42997,
"c": 0.17516,
"h": 303.3
},
"luminance": 0.06823
}Semantic roles & 50–950 ramp
primary
#652A9C
secondary
#8FBD65
accent
#E14791
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81