#6049AF#6049AF
#6049AF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.4% C 0.156 H 289.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #6049AF |
|---|---|
| RGB | rgb(96, 73, 175) |
| HSL | hsl(254, 41%, 49%) |
| HSV | hsv(254, 58%, 69%) |
| CMYK | cmyk(45.1%, 58.3%, 0%, 31.4%) |
| CIE-LAB | lab(38.46, 35.12, -51.42) |
| CIE-LCH | lch(38.46, 62.27, 304.34°) |
| OKLab | oklab(48.41% 0.0525 -0.1466) |
| OKLCH | oklch(48.41% 0.156 289.7) |
| XYZ | xyz(14.9421, 10.3465, 41.7589) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.60
Bluey Purple
#6241C7
ΔE00 4.17
Blue With A Hint Of Purple
#533CC6
ΔE00 5.21
Iris
#6258C4
ΔE00 5.47
Royal Purple
#7851A9
ΔE00 5.84
Blueberry
#464196
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6049AF #98AF49
analogous
#4965AF #6049AF #9349AF
triadic
#6049AF #AF6049 #49AF60
tetradic
#6049AF #AF4965 #98AF49 #49AF93
square
#6049AF #AF4965 #98AF49 #49AF93
split-complementary
#6049AF #AF9349 #65AF49
monochromatic
#312559 #483784 #6049AF #8471C4 #A99CD6
Accessibility & contrast
On white
6.84
#6049AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#6049AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6049AF
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6049AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6049AF | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB2
Deuteranopia (green-blind)
#0858AD
Tritanopia (blue-blind)
#486075
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #6049af; /* rgb */ color: rgb(96, 73, 175); /* oklch */ color: oklch(48.4% 0.156 289.7);
Tailwind
colors: {
custom: {
50: '#937cc7',
500: '#6049af',
950: '#000000',
},
}SCSS
$custom: #6049af; $custom-light: #937cc7; $custom-dark: #000000;
JSON
{
"hex": "#6049af",
"rgb": {
"r": 96,
"g": 73,
"b": 175
},
"hsl": {
"h": 253.529,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.48412,
"c": 0.15574,
"h": 289.7
},
"luminance": 0.10347
}Semantic roles & 50–950 ramp
primary
#6049AF
secondary
#B7C291
accent
#D157B5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82