#6047AF#6047AF
#6047AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.1% C 0.159 H 290.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #6047AF |
|---|---|
| RGB | rgb(96, 71, 175) |
| HSL | hsl(254, 42%, 48%) |
| HSV | hsv(254, 59%, 69%) |
| CMYK | cmyk(45.1%, 59.4%, 0%, 31.4%) |
| CIE-LAB | lab(38.00, 36.32, -52.16) |
| CIE-LCH | lch(38.00, 63.55, 304.85°) |
| OKLab | oklab(48.08% 0.0548 -0.1488) |
| OKLCH | oklch(48.08% 0.159 290.2) |
| XYZ | xyz(14.8128, 10.0879, 41.7158) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.39
Bluey Purple
#6241C7
ΔE00 3.90
Blue With A Hint Of Purple
#533CC6
ΔE00 4.87
Blurple
#5539CC
ΔE00 5.63
Blueberry
#464196
ΔE00 5.92
Iris
#6258C4
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6047AF #96AF47
analogous
#4762AF #6047AF #9447AF
triadic
#6047AF #AF6047 #47AF60
tetradic
#6047AF #AF4762 #96AF47 #47AF94
square
#6047AF #AF4762 #96AF47 #47AF94
split-complementary
#6047AF #AF9447 #62AF47
monochromatic
#302458 #483583 #6047AF #836FC4 #A99AD6
Accessibility & contrast
On white
6.96
#6047AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#6047AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6047AF
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6047AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6047AF | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#485E74
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #6047af; /* rgb */ color: rgb(96, 71, 175); /* oklch */ color: oklch(48.1% 0.159 290.2);
Tailwind
colors: {
custom: {
50: '#937bc8',
500: '#6047af',
950: '#000000',
},
}SCSS
$custom: #6047af; $custom-light: #937bc8; $custom-dark: #000000;
JSON
{
"hex": "#6047af",
"rgb": {
"r": 96,
"g": 71,
"b": 175
},
"hsl": {
"h": 254.423,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.48076,
"c": 0.15859,
"h": 290.2
},
"luminance": 0.10088
}Semantic roles & 50–950 ramp
primary
#6047AF
secondary
#B6C28F
accent
#D256B4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82