#635797#635797
#635797 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 49.7% C 0.100 H 290.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #635797 |
|---|---|
| RGB | rgb(99, 87, 151) |
| HSL | hsl(251, 27%, 47%) |
| HSV | hsv(251, 42%, 59%) |
| CMYK | cmyk(34.4%, 42.4%, 0%, 40.8%) |
| CIE-LAB | lab(40.74, 20.35, -33.44) |
| CIE-LCH | lch(40.74, 39.15, 301.33°) |
| OKLab | oklab(49.72% 0.0358 -0.0938) |
| OKLCH | oklch(49.72% 0.1 290.9) |
| XYZ | xyz(14.1382, 11.7031, 30.7862) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.95
Dusk
#4E5481
ΔE00 6.17
Royal Purple
#7851A9
ΔE00 6.24
Iris
#6258C4
ΔE00 8.17
Blueberry
#464196
ΔE00 8.56
Dusky Blue
#475F94
ΔE00 8.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#635797 #8B9757
analogous
#576B97 #635797 #835797
triadic
#635797 #976357 #579763
tetradic
#635797 #97576B #8B9757 #579783
square
#635797 #97576B #8B9757 #579783
split-complementary
#635797 #978357 #6B9757
monochromatic
#302A49 #4A4170 #635797 #8479B2 #A8A0C8
Accessibility & contrast
On white
6.29
#635797 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#635797 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #635797
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##635797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##635797 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#566370
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #635797; /* rgb */ color: rgb(99, 87, 151); /* oklch */ color: oklch(49.7% 0.100 290.9);
Tailwind
colors: {
custom: {
50: '#9186b6',
500: '#635797',
950: '#000000',
},
}SCSS
$custom: #635797; $custom-light: #9186b6; $custom-dark: #000000;
JSON
{
"hex": "#635797",
"rgb": {
"r": 99,
"g": 87,
"b": 151
},
"hsl": {
"h": 251.25,
"s": 26.891,
"l": 46.667
},
"oklch": {
"l": 0.49719,
"c": 0.10046,
"h": 290.9
},
"luminance": 0.11703
}Semantic roles & 50–950 ramp
primary
#635797
secondary
#B0B694
accent
#C365B1
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80