#6442E2#6442E2
#6442E2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.227 H 285.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6442E2 |
|---|---|
| RGB | rgb(100, 66, 226) |
| HSL | hsl(253, 73%, 57%) |
| HSV | hsv(253, 71%, 89%) |
| CMYK | cmyk(55.8%, 70.8%, 0%, 11.4%) |
| CIE-LAB | lab(41.37, 54.65, -76.27) |
| CIE-LCH | lch(41.37, 93.83, 305.62°) |
| OKLab | oklab(51.85% 0.0589 -0.2195) |
| OKLCH | oklch(51.85% 0.227 285) |
| XYZ | xyz(20.9270, 12.0955, 73.1687) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.56
Bluish Purple
#703BE7
ΔE00 2.15
Purpley Blue
#5F34E7
ΔE00 2.83
Burple
#6832E3
ΔE00 3.10
Bluey Purple
#6241C7
ΔE00 3.65
Blurple
#5539CC
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6442E2 #C0E242
analogous
#4270E2 #6442E2 #B442E2
triadic
#6442E2 #E26442 #42E264
tetradic
#6442E2 #E24270 #C0E242 #42E2B4
square
#6442E2 #E24270 #C0E242 #42E2B4
split-complementary
#6442E2 #E2B442 #70E242
monochromatic
#311793 #431FC8 #6442E2 #9077EA #BBACF2
Accessibility & contrast
On white
6.14
#6442E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#6442E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6442E2
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6442E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6442E2 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#276D8E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6442e2; /* rgb */ color: rgb(100, 66, 226); /* oklch */ color: oklch(51.8% 0.227 285.0);
Tailwind
colors: {
custom: {
50: '#9c79ec',
500: '#6442e2',
950: '#000000',
},
}SCSS
$custom: #6442e2; $custom-light: #9c79ec; $custom-dark: #000000;
JSON
{
"hex": "#6442e2",
"rgb": {
"r": 100,
"g": 66,
"b": 226
},
"hsl": {
"h": 252.75,
"s": 73.394,
"l": 57.255
},
"oklch": {
"l": 0.51848,
"c": 0.22727,
"h": 285
},
"luminance": 0.12097
}Semantic roles & 50–950 ramp
primary
#6442E2
secondary
#D3E09F
accent
#F038C9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84