#622AB2#622AB2
#622AB2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.198 H 295.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #622AB2 |
|---|---|
| RGB | rgb(98, 42, 178) |
| HSL | hsl(265, 62%, 43%) |
| HSV | hsv(265, 76%, 70%) |
| CMYK | cmyk(44.9%, 76.4%, 0%, 30.2%) |
| CIE-LAB | lab(32.85, 52.88, -62.31) |
| CIE-LCH | lch(32.85, 81.72, 310.32°) |
| OKLab | oklab(44.5% 0.0867 -0.1785) |
| OKLCH | oklch(44.5% 0.198 295.9) |
| XYZ | xyz(13.8987, 7.4666, 42.8198) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.10
Rebeccapurple
#663399
ΔE00 4.59
Violet Blue
#510AC9
ΔE00 5.15
Blurple
#5539CC
ΔE00 5.40
Blue With A Hint Of Purple
#533CC6
ΔE00 5.55
Bluey Purple
#6241C7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#622AB2 #7AB22A
analogous
#2A36B2 #622AB2 #A62AB2
triadic
#622AB2 #B2622A #2AB262
tetradic
#622AB2 #B22A36 #7AB22A #2AB2A6
square
#622AB2 #B22A36 #7AB22A #2AB2A6
split-complementary
#622AB2 #B2A62A #36B22A
monochromatic
#2B134F #471E80 #622AB2 #8046D3 #A277DF
Accessibility & contrast
On white
8.42
#622AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#622AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #622AB2
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##622AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##622AB2 | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#4C4F6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #622ab2; /* rgb */ color: rgb(98, 42, 178); /* oklch */ color: oklch(44.5% 0.198 295.9);
Tailwind
colors: {
custom: {
50: '#966aca',
500: '#622ab2',
950: '#000000',
},
}SCSS
$custom: #622ab2; $custom-light: #966aca; $custom-dark: #000000;
JSON
{
"hex": "#622ab2",
"rgb": {
"r": 98,
"g": 42,
"b": 178
},
"hsl": {
"h": 264.706,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.44499,
"c": 0.19846,
"h": 295.9
},
"luminance": 0.07467
}Semantic roles & 50–950 ramp
primary
#622AB2
secondary
#A3C771
accent
#E543A2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82