#6318A0#6318A0
#6318A0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.4% C 0.197 H 303.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #6318A0 |
|---|---|
| RGB | rgb(99, 24, 160) |
| HSL | hsl(273, 74%, 36%) |
| HSV | hsv(273, 85%, 63%) |
| CMYK | cmyk(38.1%, 85%, 0%, 37.3%) |
| CIE-LAB | lab(29.02, 55.51, -57.75) |
| CIE-LCH | lch(29.02, 80.10, 313.87°) |
| OKLab | oklab(41.37% 0.1072 -0.1649) |
| OKLCH | oklch(41.37% 0.197 303) |
| XYZ | xyz(11.8159, 5.8440, 33.7564) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.95
Purple (survey)
#7E1E9C
ΔE00 5.60
Violet Blue
#510AC9
ΔE00 6.26
Indigo
#4B0082
ΔE00 6.37
Indigo Blue
#3A18B1
ΔE00 6.56
Purple Blue
#5D21D0
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6318A0 #55A018
analogous
#1F18A0 #6318A0 #A01899
triadic
#6318A0 #A06318 #18A063
tetradic
#6318A0 #A01F18 #55A018 #1899A0
square
#6318A0 #A01F18 #55A018 #1899A0
split-complementary
#6318A0 #99A018 #18A01F
monochromatic
#210836 #42106B #6318A0 #8420D5 #A14EE4
Accessibility & contrast
On white
9.68
#6318A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#6318A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6318A0
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6318A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6318A0 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#56405F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #6318a0; /* rgb */ color: rgb(99, 24, 160); /* oklch */ color: oklch(41.4% 0.197 303.0);
Tailwind
colors: {
custom: {
50: '#9661bd',
500: '#6318a0',
950: '#000000',
},
}SCSS
$custom: #6318a0; $custom-light: #9661bd; $custom-dark: #000000;
JSON
{
"hex": "#6318a0",
"rgb": {
"r": 99,
"g": 24,
"b": 160
},
"hsl": {
"h": 273.088,
"s": 73.913,
"l": 36.078
},
"oklch": {
"l": 0.41372,
"c": 0.19673,
"h": 303
},
"luminance": 0.05844
}Semantic roles & 50–950 ramp
primary
#6318A0
secondary
#84C64D
accent
#F1378A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81