#604DBE#604DBE
#604DBE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.170 H 286.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #604DBE |
|---|---|
| RGB | rgb(96, 77, 190) |
| HSL | hsl(250, 47%, 52%) |
| HSV | hsv(250, 59%, 75%) |
| CMYK | cmyk(49.5%, 59.5%, 0%, 25.5%) |
| CIE-LAB | lab(40.43, 37.20, -57.05) |
| CIE-LCH | lch(40.43, 68.11, 303.11°) |
| OKLab | oklab(50.2% 0.0476 -0.1632) |
| OKLCH | oklch(50.2% 0.17 286.3) |
| XYZ | xyz(16.7693, 11.5115, 50.0436) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.41
Bluey Purple
#6241C7
ΔE00 3.45
Ocean Blue
#4F42B5
ΔE00 4.08
Slate Blue
#6A5ACD
ΔE00 4.59
Blue With A Hint Of Purple
#533CC6
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604DBE #ABBE4D
analogous
#4D73BE #604DBE #984DBE
triadic
#604DBE #BE604D #4DBE60
tetradic
#604DBE #BE4D73 #ABBE4D #4DBE98
square
#604DBE #BE4D73 #ABBE4D #4DBE98
split-complementary
#604DBE #BE984D #73BE4D
monochromatic
#32276A #473797 #604DBE #887ACE #B0A7DF
Accessibility & contrast
On white
6.36
#604DBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#604DBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604DBE
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604DBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604DBE | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#3F677E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #604dbe; /* rgb */ color: rgb(96, 77, 190); /* oklch */ color: oklch(50.2% 0.170 286.3);
Tailwind
colors: {
custom: {
50: '#947fd2',
500: '#604dbe',
950: '#000000',
},
}SCSS
$custom: #604dbe; $custom-light: #947fd2; $custom-dark: #000000;
JSON
{
"hex": "#604dbe",
"rgb": {
"r": 96,
"g": 77,
"b": 190
},
"hsl": {
"h": 250.088,
"s": 46.502,
"l": 52.353
},
"oklch": {
"l": 0.50197,
"c": 0.17001,
"h": 286.3
},
"luminance": 0.11512
}Semantic roles & 50–950 ramp
primary
#604DBE
secondary
#C4CC9B
accent
#D652C0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83