#6046AF#6046AF
#6046AF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.9% C 0.160 H 290.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #6046AF |
|---|---|
| RGB | rgb(96, 70, 175) |
| HSL | hsl(255, 43%, 48%) |
| HSV | hsv(255, 60%, 69%) |
| CMYK | cmyk(45.1%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(37.77, 36.91, -52.52) |
| CIE-LCH | lch(37.77, 64.19, 305.10°) |
| OKLab | oklab(47.91% 0.056 -0.1499) |
| OKLCH | oklch(47.91% 0.16 290.5) |
| XYZ | xyz(14.7497, 9.9617, 41.6948) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.31
Bluey Purple
#6241C7
ΔE00 3.79
Blue With A Hint Of Purple
#533CC6
ΔE00 4.72
Blurple
#5539CC
ΔE00 5.47
Blueberry
#464196
ΔE00 5.91
Royal Purple
#7851A9
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6046AF #95AF46
analogous
#4660AF #6046AF #9446AF
triadic
#6046AF #AF6046 #46AF60
tetradic
#6046AF #AF4660 #95AF46 #46AF94
square
#6046AF #AF4660 #95AF46 #46AF94
split-complementary
#6046AF #AF9446 #60AF46
monochromatic
#302358 #483583 #6046AF #836DC5 #A899D6
Accessibility & contrast
On white
7.02
#6046AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#6046AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6046AF
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6046AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6046AF | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 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: #6046af; /* rgb */ color: rgb(96, 70, 175); /* oklch */ color: oklch(47.9% 0.160 290.5);
Tailwind
colors: {
custom: {
50: '#937ac8',
500: '#6046af',
950: '#000000',
},
}SCSS
$custom: #6046af; $custom-light: #937ac8; $custom-dark: #000000;
JSON
{
"hex": "#6046af",
"rgb": {
"r": 96,
"g": 70,
"b": 175
},
"hsl": {
"h": 254.857,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.4791,
"c": 0.16,
"h": 290.5
},
"luminance": 0.09962
}Semantic roles & 50–950 ramp
primary
#6046AF
secondary
#B6C28E
accent
#D355B4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82