#6246AF#6246AF
#6246AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.1% C 0.160 H 291.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #6246AF |
|---|---|
| RGB | rgb(98, 70, 175) |
| HSL | hsl(256, 43%, 48%) |
| HSV | hsv(256, 60%, 69%) |
| CMYK | cmyk(44%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(37.97, 37.35, -52.19) |
| CIE-LCH | lch(37.97, 64.18, 305.58°) |
| OKLab | oklab(48.1% 0.0587 -0.1489) |
| OKLCH | oklch(48.1% 0.16 291.5) |
| XYZ | xyz(14.9629, 10.0717, 41.7048) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.67
Bluey Purple
#6241C7
ΔE00 3.81
Blue With A Hint Of Purple
#533CC6
ΔE00 4.90
Blurple
#5539CC
ΔE00 5.61
Royal Purple
#7851A9
ΔE00 5.82
Blueberry
#464196
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6246AF #93AF46
analogous
#465EAF #6246AF #9646AF
triadic
#6246AF #AF6246 #46AF62
tetradic
#6246AF #AF465E #93AF46 #46AF96
square
#6246AF #AF465E #93AF46 #46AF96
split-complementary
#6246AF #AF9646 #5EAF46
monochromatic
#312358 #4A3583 #6246AF #856DC5 #A999D6
Accessibility & contrast
On white
6.97
#6246AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#6246AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6246AF
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6246AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6246AF | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#4C5E74
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #6246af; /* rgb */ color: rgb(98, 70, 175); /* oklch */ color: oklch(48.1% 0.160 291.5);
Tailwind
colors: {
custom: {
50: '#947ac8',
500: '#6246af',
950: '#000000',
},
}SCSS
$custom: #6246af; $custom-light: #947ac8; $custom-dark: #000000;
JSON
{
"hex": "#6246af",
"rgb": {
"r": 98,
"g": 70,
"b": 175
},
"hsl": {
"h": 256,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.48102,
"c": 0.16,
"h": 291.5
},
"luminance": 0.10072
}Semantic roles & 50–950 ramp
primary
#6246AF
secondary
#B5C28E
accent
#D355B1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82