#603AB2#603AB2
#603AB2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.3% C 0.180 H 292.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #603AB2 |
|---|---|
| RGB | rgb(96, 58, 178) |
| HSL | hsl(259, 51%, 46%) |
| HSV | hsv(259, 67%, 70%) |
| CMYK | cmyk(46.1%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(35.45, 44.59, -58.07) |
| CIE-LCH | lch(35.45, 73.21, 307.52°) |
| OKLab | oklab(46.3% 0.0688 -0.1662) |
| OKLCH | oklch(46.3% 0.18 292.5) |
| XYZ | xyz(14.3706, 8.7268, 43.0381) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.56
Blue With A Hint Of Purple
#533CC6
ΔE00 3.69
Ocean Blue
#4F42B5
ΔE00 3.86
Blurple
#5539CC
ΔE00 4.08
Rebeccapurple
#663399
ΔE00 4.80
Purple Blue
#5D21D0
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#603AB2 #8CB23A
analogous
#3A50B2 #603AB2 #9C3AB2
triadic
#603AB2 #B2603A #3AB260
tetradic
#603AB2 #B23A50 #8CB23A #3AB29C
square
#603AB2 #B23A50 #8CB23A #3AB29C
split-complementary
#603AB2 #B29C3A #50B23A
monochromatic
#2E1C56 #472B84 #603AB2 #815FCB #A58DDA
Accessibility & contrast
On white
7.65
#603AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#603AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #603AB2
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##603AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##603AB2 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#485771
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #603ab2; /* rgb */ color: rgb(96, 58, 178); /* oklch */ color: oklch(46.3% 0.180 292.5);
Tailwind
colors: {
custom: {
50: '#9473ca',
500: '#603ab2',
950: '#000000',
},
}SCSS
$custom: #603ab2; $custom-light: #9473ca; $custom-dark: #000000;
JSON
{
"hex": "#603ab2",
"rgb": {
"r": 96,
"g": 58,
"b": 178
},
"hsl": {
"h": 259,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.46297,
"c": 0.17988,
"h": 292.5
},
"luminance": 0.08727
}Semantic roles & 50–950 ramp
primary
#603AB2
secondary
#B0C483
accent
#DA4DAE
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82