#621FA6#621FA6
#621FA6 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.197 H 300.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #621FA6 |
|---|---|
| RGB | rgb(98, 31, 166) |
| HSL | hsl(270, 69%, 39%) |
| HSV | hsv(270, 81%, 65%) |
| CMYK | cmyk(41%, 81.3%, 0%, 34.9%) |
| CIE-LAB | lab(30.23, 54.38, -59.40) |
| CIE-LCH | lch(30.23, 80.53, 312.47°) |
| OKLab | oklab(42.35% 0.0989 -0.1699) |
| OKLCH | oklch(42.35% 0.197 300.2) |
| XYZ | xyz(12.4082, 6.3297, 36.6370) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.47
Violet Blue
#510AC9
ΔE00 5.55
Purple Blue
#5D21D0
ΔE00 5.89
Purple (survey)
#7E1E9C
ΔE00 5.94
Indigo Blue
#3A18B1
ΔE00 6.11
Indigo
#4B0082
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#621FA6 #63A61F
analogous
#1F1FA6 #621FA6 #A51FA6
triadic
#621FA6 #A6621F #1FA662
tetradic
#621FA6 #A61F1F #63A61F #1FA6A5
square
#621FA6 #A61F1F #63A61F #1FA6A5
split-complementary
#621FA6 #A6A51F #1FA61F
monochromatic
#250C3F #441572 #621FA6 #802BD7 #9F5EE1
Accessibility & contrast
On white
9.27
#621FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#621FA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #621FA6
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##621FA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##621FA6 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#524563
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #621fa6; /* rgb */ color: rgb(98, 31, 166); /* oklch */ color: oklch(42.3% 0.197 300.2);
Tailwind
colors: {
custom: {
50: '#9664c1',
500: '#621fa6',
950: '#000000',
},
}SCSS
$custom: #621fa6; $custom-light: #9664c1; $custom-dark: #000000;
JSON
{
"hex": "#621fa6",
"rgb": {
"r": 98,
"g": 31,
"b": 166
},
"hsl": {
"h": 269.778,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.42348,
"c": 0.19657,
"h": 300.2
},
"luminance": 0.0633
}Semantic roles & 50–950 ramp
primary
#621FA6
secondary
#91C55B
accent
#EB3C95
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81