#635798#635798
#635798 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 49.8% C 0.102 H 290.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #635798 |
|---|---|
| RGB | rgb(99, 87, 152) |
| HSL | hsl(251, 27%, 47%) |
| HSV | hsv(251, 43%, 60%) |
| CMYK | cmyk(34.9%, 42.8%, 0%, 40.4%) |
| CIE-LAB | lab(40.79, 20.64, -33.96) |
| CIE-LCH | lch(40.79, 39.74, 301.29°) |
| OKLab | oklab(49.78% 0.036 -0.0954) |
| OKLCH | oklch(49.78% 0.102 290.7) |
| XYZ | xyz(14.2198, 11.7357, 31.2157) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.97
Royal Purple
#7851A9
ΔE00 6.14
Dusk
#4E5481
ΔE00 6.26
Iris
#6258C4
ΔE00 7.95
Blueberry
#464196
ΔE00 8.47
Dusky Blue
#475F94
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#635798 #8C9857
analogous
#576C98 #635798 #845798
triadic
#635798 #986357 #579863
tetradic
#635798 #98576C #8C9857 #579884
square
#635798 #98576C #8C9857 #579884
split-complementary
#635798 #988457 #6C9857
monochromatic
#302A4A #4A4171 #635798 #847AB3 #A8A0C9
Accessibility & contrast
On white
6.27
#635798 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#635798 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #635798
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##635798 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##635798 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42619A
Deuteranopia (green-blind)
#435F96
Tritanopia (blue-blind)
#566370
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #635798; /* rgb */ color: rgb(99, 87, 152); /* oklch */ color: oklch(49.8% 0.102 290.7);
Tailwind
colors: {
custom: {
50: '#9186b6',
500: '#635798',
950: '#000000',
},
}SCSS
$custom: #635798; $custom-light: #9186b6; $custom-dark: #000000;
JSON
{
"hex": "#635798",
"rgb": {
"r": 99,
"g": 87,
"b": 152
},
"hsl": {
"h": 251.077,
"s": 27.197,
"l": 46.863
},
"oklch": {
"l": 0.49776,
"c": 0.10194,
"h": 290.7
},
"luminance": 0.11736
}Semantic roles & 50–950 ramp
primary
#635798
secondary
#B0B694
accent
#C464B2
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80