#604EB9#604EB9
#604EB9 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.162 H 286.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #604EB9 |
|---|---|
| RGB | rgb(96, 78, 185) |
| HSL | hsl(250, 43%, 52%) |
| HSV | hsv(250, 58%, 73%) |
| CMYK | cmyk(48.1%, 57.8%, 0%, 27.5%) |
| CIE-LAB | lab(40.31, 35.10, -54.32) |
| CIE-LCH | lch(40.31, 64.68, 302.87°) |
| OKLab | oklab(50% 0.0466 -0.1552) |
| OKLCH | oklch(50% 0.162 286.7) |
| XYZ | xyz(16.3027, 11.4376, 47.2382) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.42
Bluey Purple
#6241C7
ΔE00 4.07
Ocean Blue
#4F42B5
ΔE00 4.17
Slate Blue
#6A5ACD
ΔE00 4.78
Light Indigo
#6D5ACF
ΔE00 5.12
Blue With A Hint Of Purple
#533CC6
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604EB9 #A7B94E
analogous
#4E72B9 #604EB9 #964EB9
triadic
#604EB9 #B9604E #4EB960
tetradic
#604EB9 #B94E72 #A7B94E #4EB996
square
#604EB9 #B94E72 #A7B94E #4EB996
split-complementary
#604EB9 #B9964E #72B94E
monochromatic
#322865 #483991 #604EB9 #877ACA #AFA6DC
Accessibility & contrast
On white
6.39
#604EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#604EB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604EB9
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604EB9 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#42667C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #604eb9; /* rgb */ color: rgb(96, 78, 185); /* oklch */ color: oklch(50.0% 0.162 286.7);
Tailwind
colors: {
custom: {
50: '#9480cf',
500: '#604eb9',
950: '#000000',
},
}SCSS
$custom: #604eb9; $custom-light: #9480cf; $custom-dark: #000000;
JSON
{
"hex": "#604eb9",
"rgb": {
"r": 96,
"g": 78,
"b": 185
},
"hsl": {
"h": 250.093,
"s": 43.32,
"l": 51.569
},
"oklch": {
"l": 0.49996,
"c": 0.16201,
"h": 286.7
},
"luminance": 0.11438
}Semantic roles & 50–950 ramp
primary
#604EB9
secondary
#C1C99A
accent
#D355BE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82