#604F82#604F82
#604F82 is a mid, moderate violet. Relative luminance 0.097; OKLCH L 46.7% C 0.083 H 298.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #604F82 |
|---|---|
| RGB | rgb(96, 79, 130) |
| HSL | hsl(260, 24%, 41%) |
| HSV | hsv(260, 39%, 51%) |
| CMYK | cmyk(26.2%, 39.2%, 0%, 49%) |
| CIE-LAB | lab(37.28, 18.70, -26.15) |
| CIE-LCH | lch(37.28, 32.15, 305.56°) |
| OKLab | oklab(46.67% 0.0395 -0.0728) |
| OKLCH | oklch(46.67% 0.083 298.5) |
| XYZ | xyz(11.6482, 9.6904, 22.3715) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 6.21
Dusk
#4E5481
ΔE00 6.46
Royal Purple
#7851A9
ΔE00 8.64
Darkslateblue
#483D8B
ΔE00 8.69
Muted Purple
#805B87
ΔE00 8.72
Blueberry
#464196
ΔE00 9.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604F82 #71824F
analogous
#4F5782 #604F82 #794F82
triadic
#604F82 #82604F #4F8260
tetradic
#604F82 #824F57 #71824F #4F8279
square
#604F82 #824F57 #71824F #4F8279
split-complementary
#604F82 #82794F #57824F
monochromatic
#282136 #44385C #604F82 #7D6AA4 #9E90BB
Accessibility & contrast
On white
7.15
#604F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#604F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #604F82
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604F82 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#455781
Tritanopia (blue-blind)
#595862
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #604f82; /* rgb */ color: rgb(96, 79, 130); /* oklch */ color: oklch(46.7% 0.083 298.5);
Tailwind
colors: {
custom: {
50: '#8e80a6',
500: '#604f82',
950: '#000000',
},
}SCSS
$custom: #604f82; $custom-light: #8e80a6; $custom-dark: #000000;
JSON
{
"hex": "#604f82",
"rgb": {
"r": 96,
"g": 79,
"b": 130
},
"hsl": {
"h": 260,
"s": 24.402,
"l": 40.98
},
"oklch": {
"l": 0.46673,
"c": 0.08281,
"h": 298.5
},
"luminance": 0.0969
}Semantic roles & 50–950 ramp
primary
#604F82
secondary
#9CA885
accent
#C167A3
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F