#6046E1#6046E1
#6046E1 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.222 H 283.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #6046E1 |
|---|---|
| RGB | rgb(96, 70, 225) |
| HSL | hsl(250, 72%, 58%) |
| HSV | hsv(250, 69%, 88%) |
| CMYK | cmyk(57.3%, 68.9%, 0%, 11.8%) |
| CIE-LAB | lab(41.69, 51.67, -75.18) |
| CIE-LCH | lch(41.69, 91.23, 304.50°) |
| OKLab | oklab(51.97% 0.0505 -0.2165) |
| OKLCH | oklch(51.97% 0.222 283.1) |
| XYZ | xyz(20.6004, 12.3020, 72.5086) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.94
Bluish Purple
#703BE7
ΔE00 3.14
Purpley Blue
#5F34E7
ΔE00 3.65
Bluey Purple
#6241C7
ΔE00 3.83
Burple
#6832E3
ΔE00 4.09
Blurple
#5539CC
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6046E1 #C7E146
analogous
#4679E1 #6046E1 #AE46E1
triadic
#6046E1 #E16046 #46E160
tetradic
#6046E1 #E14679 #C7E146 #46E1AE
square
#6046E1 #E14679 #C7E146 #46E1AE
split-complementary
#6046E1 #E1AE46 #79E146
monochromatic
#2D1895 #3D21C9 #6046E1 #8D7BEA #BBAFF2
Accessibility & contrast
On white
6.07
#6046E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#6046E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6046E1
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6046E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6046E1 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#156F8E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6046e1; /* rgb */ color: rgb(96, 70, 225); /* oklch */ color: oklch(52.0% 0.222 283.1);
Tailwind
colors: {
custom: {
50: '#9a7cec',
500: '#6046e1',
950: '#000000',
},
}SCSS
$custom: #6046e1; $custom-light: #9a7cec; $custom-dark: #000000;
JSON
{
"hex": "#6046e1",
"rgb": {
"r": 96,
"g": 70,
"b": 225
},
"hsl": {
"h": 250.065,
"s": 72.093,
"l": 57.843
},
"oklch": {
"l": 0.51968,
"c": 0.22227,
"h": 283.1
},
"luminance": 0.12303
}Semantic roles & 50–950 ramp
primary
#6046E1
secondary
#D6E0A2
accent
#EF39D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84