#634CA1#634CA1
#634CA1 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.3% C 0.132 H 293.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #634CA1 |
|---|---|
| RGB | rgb(99, 76, 161) |
| HSL | hsl(256, 36%, 46%) |
| HSV | hsv(256, 53%, 63%) |
| CMYK | cmyk(38.5%, 52.8%, 0%, 36.9%) |
| CIE-LAB | lab(38.54, 29.98, -42.93) |
| CIE-LCH | lch(38.54, 52.36, 304.93°) |
| OKLab | oklab(48.25% 0.0523 -0.1216) |
| OKLCH | oklch(48.25% 0.132 293.3) |
| XYZ | xyz(14.1614, 10.3944, 34.9715) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.57
Ocean Blue
#4F42B5
ΔE00 6.01
Blueberry
#464196
ΔE00 6.09
Darkslateblue
#483D8B
ΔE00 6.61
Twilight
#4E518B
ΔE00 6.80
Iris
#6258C4
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#634CA1 #8AA14C
analogous
#4C60A1 #634CA1 #8E4CA1
triadic
#634CA1 #A1634C #4CA163
tetradic
#634CA1 #A14C60 #8AA14C #4CA18E
square
#634CA1 #A14C60 #8AA14C #4CA18E
split-complementary
#634CA1 #A18E4C #60A14C
monochromatic
#30254E #493877 #634CA1 #846FBB #A799CF
Accessibility & contrast
On white
6.82
#634CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#634CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #634CA1
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##634CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##634CA1 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295CA4
Deuteranopia (green-blind)
#2E599F
Tritanopia (blue-blind)
#535D6F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #634ca1; /* rgb */ color: rgb(99, 76, 161); /* oklch */ color: oklch(48.3% 0.132 293.3);
Tailwind
colors: {
custom: {
50: '#937ebd',
500: '#634ca1',
950: '#000000',
},
}SCSS
$custom: #634ca1; $custom-light: #937ebd; $custom-dark: #000000;
JSON
{
"hex": "#634ca1",
"rgb": {
"r": 99,
"g": 76,
"b": 161
},
"hsl": {
"h": 256.235,
"s": 35.865,
"l": 46.471
},
"oklch": {
"l": 0.48251,
"c": 0.13237,
"h": 293.3
},
"luminance": 0.10395
}Semantic roles & 50–950 ramp
primary
#634CA1
secondary
#AFBB8E
accent
#CC5CAE
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81