#624C8A#624C8A
#624C8A is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.7% C 0.100 H 298.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #624C8A |
|---|---|
| RGB | rgb(98, 76, 138) |
| HSL | hsl(261, 29%, 42%) |
| HSV | hsv(261, 45%, 54%) |
| CMYK | cmyk(29%, 44.9%, 0%, 45.9%) |
| CIE-LAB | lab(37.12, 23.33, -31.30) |
| CIE-LCH | lch(37.12, 39.03, 306.70°) |
| OKLab | oklab(46.73% 0.0483 -0.0876) |
| OKLCH | oklch(46.73% 0.1 298.8) |
| XYZ | xyz(12.2078, 9.6004, 25.2497) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 6.24
Royal Purple
#7851A9
ΔE00 6.71
Darkslateblue
#483D8B
ΔE00 7.15
Dusk
#4E5481
ΔE00 7.45
Blueberry
#464196
ΔE00 7.90
Rebeccapurple
#663399
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#624C8A #748A4C
analogous
#4C558A #624C8A #814C8A
triadic
#624C8A #8A624C #4C8A62
tetradic
#624C8A #8A4C55 #748A4C #4C8A81
square
#624C8A #8A4C55 #748A4C #4C8A81
split-complementary
#624C8A #8A814C #558A4C
monochromatic
#2A213B #463663 #624C8A #8068AC #A18FC1
Accessibility & contrast
On white
7.19
#624C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#624C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #624C8A
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##624C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##624C8A | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A578C
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#5A5764
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #624c8a; /* rgb */ color: rgb(98, 76, 138); /* oklch */ color: oklch(46.7% 0.100 298.8);
Tailwind
colors: {
custom: {
50: '#907eac',
500: '#624c8a',
950: '#000000',
},
}SCSS
$custom: #624c8a; $custom-light: #907eac; $custom-dark: #000000;
JSON
{
"hex": "#624c8a",
"rgb": {
"r": 98,
"g": 76,
"b": 138
},
"hsl": {
"h": 261.29,
"s": 28.972,
"l": 41.961
},
"oklch": {
"l": 0.4673,
"c": 0.10004,
"h": 298.8
},
"luminance": 0.09601
}Semantic roles & 50–950 ramp
primary
#624C8A
secondary
#9FAE84
accent
#C563A2
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A10
muted
#7E7C7F