#651F98#651F98
#651F98 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.183 H 305.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #651F98 |
|---|---|
| RGB | rgb(101, 31, 152) |
| HSL | hsl(275, 66%, 36%) |
| HSV | hsv(275, 80%, 60%) |
| CMYK | cmyk(33.6%, 79.6%, 0%, 40.4%) |
| CIE-LAB | lab(29.45, 51.57, -52.15) |
| CIE-LCH | lch(29.45, 73.34, 314.68°) |
| OKLab | oklab(41.52% 0.1073 -0.1485) |
| OKLCH | oklch(41.52% 0.183 305.9) |
| XYZ | xyz(11.5230, 6.0138, 30.2534) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.82
Purple (survey)
#7E1E9C
ΔE00 4.71
Indigo
#4B0082
ΔE00 6.57
Violet Blue
#510AC9
ΔE00 7.81
Indigo Blue
#3A18B1
ΔE00 7.85
Purple
#800080
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#651F98 #52981F
analogous
#291F98 #651F98 #981F8E
triadic
#651F98 #98651F #1F9865
tetradic
#651F98 #98291F #52981F #1F8E98
square
#651F98 #98291F #52981F #1F8E98
split-complementary
#651F98 #8E981F #1F9829
monochromatic
#210A32 #431565 #651F98 #8729CB #A355DC
Accessibility & contrast
On white
9.53
#651F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#651F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #651F98
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##651F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##651F98 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#5C3E5B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #651f98; /* rgb */ color: rgb(101, 31, 152); /* oklch */ color: oklch(41.5% 0.183 305.9);
Tailwind
colors: {
custom: {
50: '#9663b7',
500: '#651f98',
950: '#000000',
},
}SCSS
$custom: #651f98; $custom-light: #9663b7; $custom-dark: #000000;
JSON
{
"hex": "#651f98",
"rgb": {
"r": 101,
"g": 31,
"b": 152
},
"hsl": {
"h": 274.711,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.4152,
"c": 0.18322,
"h": 305.9
},
"luminance": 0.06014
}Semantic roles & 50–950 ramp
primary
#651F98
secondary
#81C053
accent
#E93F87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80