#603FB2#603FB2
#603FB2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.0% C 0.173 H 291.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #603FB2 |
|---|---|
| RGB | rgb(96, 63, 178) |
| HSL | hsl(257, 48%, 47%) |
| HSV | hsv(257, 65%, 70%) |
| CMYK | cmyk(46.1%, 64.6%, 0%, 30.2%) |
| CIE-LAB | lab(36.47, 41.82, -56.41) |
| CIE-LCH | lch(36.47, 70.22, 306.55°) |
| OKLab | oklab(47.03% 0.0636 -0.1613) |
| OKLCH | oklch(47.03% 0.173 291.5) |
| XYZ | xyz(14.6350, 9.2557, 43.1263) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.12
Ocean Blue
#4F42B5
ΔE00 3.25
Blue With A Hint Of Purple
#533CC6
ΔE00 3.67
Blurple
#5539CC
ΔE00 4.25
Rebeccapurple
#663399
ΔE00 5.39
Blueberry
#464196
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#603FB2 #91B23F
analogous
#3F58B2 #603FB2 #993FB2
triadic
#603FB2 #B2603F #3FB260
tetradic
#603FB2 #B23F58 #91B23F #3FB299
square
#603FB2 #B23F58 #91B23F #3FB299
split-complementary
#603FB2 #B2993F #58B23F
monochromatic
#2F1F58 #482F85 #603FB2 #8266C9 #A793D9
Accessibility & contrast
On white
7.37
#603FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#603FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #603FB2
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##603FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##603FB2 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#475A73
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #603fb2; /* rgb */ color: rgb(96, 63, 178); /* oklch */ color: oklch(47.0% 0.173 291.5);
Tailwind
colors: {
custom: {
50: '#9476ca',
500: '#603fb2',
950: '#000000',
},
}SCSS
$custom: #603fb2; $custom-light: #9476ca; $custom-dark: #000000;
JSON
{
"hex": "#603fb2",
"rgb": {
"r": 96,
"g": 63,
"b": 178
},
"hsl": {
"h": 257.217,
"s": 47.718,
"l": 47.255
},
"oklch": {
"l": 0.47032,
"c": 0.1734,
"h": 291.5
},
"luminance": 0.09256
}Semantic roles & 50–950 ramp
primary
#603FB2
secondary
#B3C489
accent
#D750B1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82