#6018A0#6018A0
#6018A0 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.196 H 301.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #6018A0 |
|---|---|
| RGB | rgb(96, 24, 160) |
| HSL | hsl(272, 74%, 36%) |
| HSV | hsv(272, 85%, 63%) |
| CMYK | cmyk(40%, 85%, 0%, 37.3%) |
| CIE-LAB | lab(28.59, 55.08, -58.47) |
| CIE-LCH | lch(28.59, 80.33, 313.29°) |
| OKLab | oklab(40.98% 0.1027 -0.1672) |
| OKLCH | oklch(40.98% 0.196 301.6) |
| XYZ | xyz(11.4941, 5.6781, 33.7413) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.15
Violet Blue
#510AC9
ΔE00 6.01
Indigo Blue
#3A18B1
ΔE00 6.07
Indigo
#4B0082
ΔE00 6.09
Purple (survey)
#7E1E9C
ΔE00 6.13
Purple Blue
#5D21D0
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6018A0 #58A018
analogous
#1C18A0 #6018A0 #A0189C
triadic
#6018A0 #A06018 #18A060
tetradic
#6018A0 #A01C18 #58A018 #189CA0
square
#6018A0 #A01C18 #58A018 #189CA0
split-complementary
#6018A0 #9CA018 #18A01C
monochromatic
#200836 #40106B #6018A0 #8020D5 #9E4EE4
Accessibility & contrast
On white
9.83
#6018A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#6018A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6018A0
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6018A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6018A0 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#51405F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #6018a0; /* rgb */ color: rgb(96, 24, 160); /* oklch */ color: oklch(41.0% 0.196 301.6);
Tailwind
colors: {
custom: {
50: '#9460bd',
500: '#6018a0',
950: '#000000',
},
}SCSS
$custom: #6018a0; $custom-light: #9460bd; $custom-dark: #000000;
JSON
{
"hex": "#6018a0",
"rgb": {
"r": 96,
"g": 24,
"b": 160
},
"hsl": {
"h": 271.765,
"s": 73.913,
"l": 36.078
},
"oklch": {
"l": 0.40984,
"c": 0.19619,
"h": 301.6
},
"luminance": 0.05678
}Semantic roles & 50–950 ramp
primary
#6018A0
secondary
#86C64D
accent
#F1378E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81