#6037B3#6037B3
#6037B3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.185 H 292.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #6037B3 |
|---|---|
| RGB | rgb(96, 55, 179) |
| HSL | hsl(260, 53%, 46%) |
| HSV | hsv(260, 69%, 70%) |
| CMYK | cmyk(46.4%, 69.3%, 0%, 29.8%) |
| CIE-LAB | lab(34.95, 46.47, -59.48) |
| CIE-LCH | lch(34.95, 75.48, 308.00°) |
| OKLab | oklab(45.96% 0.0717 -0.1703) |
| OKLCH | oklch(45.96% 0.185 292.8) |
| XYZ | xyz(14.3245, 8.4734, 43.5199) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 3.84
Blurple
#5539CC
ΔE00 4.00
Ocean Blue
#4F42B5
ΔE00 4.29
Rebeccapurple
#663399
ΔE00 4.72
Purple Blue
#5D21D0
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6037B3 #8AB337
analogous
#374CB3 #6037B3 #9E37B3
triadic
#6037B3 #B36037 #37B360
tetradic
#6037B3 #B3374C #8AB337 #37B39E
square
#6037B3 #B3374C #8AB337 #37B39E
split-complementary
#6037B3 #B39E37 #4CB337
monochromatic
#2E1A55 #472984 #6037B3 #805BCD #A48ADB
Accessibility & contrast
On white
7.79
#6037B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#6037B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6037B3
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6037B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6037B3 | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#475671
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6037b3; /* rgb */ color: rgb(96, 55, 179); /* oklch */ color: oklch(46.0% 0.185 292.8);
Tailwind
colors: {
custom: {
50: '#9471cb',
500: '#6037b3',
950: '#000000',
},
}SCSS
$custom: #6037b3; $custom-light: #9471cb; $custom-dark: #000000;
JSON
{
"hex": "#6037b3",
"rgb": {
"r": 96,
"g": 55,
"b": 179
},
"hsl": {
"h": 259.839,
"s": 52.991,
"l": 45.882
},
"oklch": {
"l": 0.45962,
"c": 0.18481,
"h": 292.8
},
"luminance": 0.08474
}Semantic roles & 50–950 ramp
primary
#6037B3
secondary
#AEC581
accent
#DC4BAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82