#6146AF#6146AF
#6146AF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.0% C 0.160 H 291.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #6146AF |
|---|---|
| RGB | rgb(97, 70, 175) |
| HSL | hsl(255, 43%, 48%) |
| HSV | hsv(255, 60%, 69%) |
| CMYK | cmyk(44.6%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(37.87, 37.13, -52.36) |
| CIE-LCH | lch(37.87, 64.18, 305.34°) |
| OKLab | oklab(48.01% 0.0573 -0.1494) |
| OKLCH | oklch(48.01% 0.16 291) |
| XYZ | xyz(14.8556, 10.0164, 41.6998) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.49
Bluey Purple
#6241C7
ΔE00 3.79
Blue With A Hint Of Purple
#533CC6
ΔE00 4.81
Blurple
#5539CC
ΔE00 5.53
Royal Purple
#7851A9
ΔE00 5.98
Blueberry
#464196
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6146AF #94AF46
analogous
#465FAF #6146AF #9546AF
triadic
#6146AF #AF6146 #46AF61
tetradic
#6146AF #AF465F #94AF46 #46AF95
square
#6146AF #AF465F #94AF46 #46AF95
split-complementary
#6146AF #AF9546 #5FAF46
monochromatic
#312358 #493583 #6146AF #846DC5 #A999D6
Accessibility & contrast
On white
6.99
#6146AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#6146AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6146AF
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6146AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6146AF | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#4A5E74
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #6146af; /* rgb */ color: rgb(97, 70, 175); /* oklch */ color: oklch(48.0% 0.160 291.0);
Tailwind
colors: {
custom: {
50: '#937ac8',
500: '#6146af',
950: '#000000',
},
}SCSS
$custom: #6146af; $custom-light: #937ac8; $custom-dark: #000000;
JSON
{
"hex": "#6146af",
"rgb": {
"r": 97,
"g": 70,
"b": 175
},
"hsl": {
"h": 255.429,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.48006,
"c": 0.16,
"h": 291
},
"luminance": 0.10017
}Semantic roles & 50–950 ramp
primary
#6146AF
secondary
#B5C28E
accent
#D355B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82