#634C8A#634C8A
#634C8A is a mid, moderate violet. Relative luminance 0.097; OKLCH L 46.8% C 0.100 H 299.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #634C8A |
|---|---|
| RGB | rgb(99, 76, 138) |
| HSL | hsl(262, 29%, 42%) |
| HSV | hsv(262, 45%, 54%) |
| CMYK | cmyk(28.3%, 44.9%, 0%, 45.9%) |
| CIE-LAB | lab(37.22, 23.63, -31.13) |
| CIE-LCH | lch(37.22, 39.08, 307.20°) |
| OKLab | oklab(46.83% 0.0496 -0.0871) |
| OKLCH | oklch(46.83% 0.1 299.6) |
| XYZ | xyz(12.3164, 9.6564, 25.2548) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 6.49
Royal Purple
#7851A9
ΔE00 6.61
Darkslateblue
#483D8B
ΔE00 7.34
Dusk
#4E5481
ΔE00 7.68
Blueberry
#464196
ΔE00 8.11
Rebeccapurple
#663399
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#634C8A #738A4C
analogous
#4C548A #634C8A #824C8A
triadic
#634C8A #8A634C #4C8A63
tetradic
#634C8A #8A4C54 #738A4C #4C8A82
square
#634C8A #8A4C54 #738A4C #4C8A82
split-complementary
#634C8A #8A824C #548A4C
monochromatic
#2A213B #473663 #634C8A #8168AC #A28FC1
Accessibility & contrast
On white
7.16
#634C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#634C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #634C8A
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##634C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##634C8A | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A578C
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#5B5764
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #634c8a; /* rgb */ color: rgb(99, 76, 138); /* oklch */ color: oklch(46.8% 0.100 299.6);
Tailwind
colors: {
custom: {
50: '#917eac',
500: '#634c8a',
950: '#000000',
},
}SCSS
$custom: #634c8a; $custom-light: #917eac; $custom-dark: #000000;
JSON
{
"hex": "#634c8a",
"rgb": {
"r": 99,
"g": 76,
"b": 138
},
"hsl": {
"h": 262.258,
"s": 28.972,
"l": 41.961
},
"oklch": {
"l": 0.46832,
"c": 0.10023,
"h": 299.6
},
"luminance": 0.09657
}Semantic roles & 50–950 ramp
primary
#634C8A
secondary
#9EAE84
accent
#C563A1
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A10
muted
#7E7C7F