#651D98#651D98
#651D98 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.185 H 306.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #651D98 |
|---|---|
| RGB | rgb(101, 29, 152) |
| HSL | hsl(275, 68%, 35%) |
| HSV | hsv(275, 81%, 60%) |
| CMYK | cmyk(33.6%, 80.9%, 0%, 40.4%) |
| CIE-LAB | lab(29.19, 52.31, -52.57) |
| CIE-LCH | lch(29.19, 74.16, 314.86°) |
| OKLab | oklab(41.34% 0.109 -0.1497) |
| OKLCH | oklch(41.34% 0.185 306.1) |
| XYZ | xyz(11.4724, 5.9125, 30.2365) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.12
Purple (survey)
#7E1E9C
ΔE00 4.77
Indigo
#4B0082
ΔE00 6.38
Violet Blue
#510AC9
ΔE00 7.74
Indigo Blue
#3A18B1
ΔE00 7.79
Purple
#800080
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#651D98 #50981D
analogous
#271D98 #651D98 #981D8D
triadic
#651D98 #98651D #1D9865
tetradic
#651D98 #98271D #50981D #1D8D98
square
#651D98 #98271D #50981D #1D8D98
split-complementary
#651D98 #8D981D #1D9827
monochromatic
#210931 #431365 #651D98 #8727CB #A452DE
Accessibility & contrast
On white
9.62
#651D98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#651D98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #651D98
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##651D98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##651D98 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#5C3E5B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #651d98; /* rgb */ color: rgb(101, 29, 152); /* oklch */ color: oklch(41.3% 0.185 306.1);
Tailwind
colors: {
custom: {
50: '#9663b7',
500: '#651d98',
950: '#000000',
},
}SCSS
$custom: #651d98; $custom-light: #9663b7; $custom-dark: #000000;
JSON
{
"hex": "#651d98",
"rgb": {
"r": 101,
"g": 29,
"b": 152
},
"hsl": {
"h": 275.122,
"s": 67.956,
"l": 35.49
},
"oklch": {
"l": 0.41341,
"c": 0.18516,
"h": 306.1
},
"luminance": 0.05912
}Semantic roles & 50–950 ramp
primary
#651D98
secondary
#7FC150
accent
#EB3D85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80