#631C99#631C99
#631C99 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.187 H 304.8°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #631C99 |
|---|---|
| RGB | rgb(99, 28, 153) |
| HSL | hsl(274, 69%, 35%) |
| HSV | hsv(274, 82%, 60%) |
| CMYK | cmyk(35.3%, 81.7%, 0%, 40%) |
| CIE-LAB | lab(28.86, 52.57, -53.73) |
| CIE-LCH | lch(28.86, 75.17, 314.37°) |
| OKLab | oklab(41.07% 0.1066 -0.1532) |
| OKLCH | oklch(41.07% 0.187 304.8) |
| XYZ | xyz(11.3093, 5.7831, 30.6513) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.34
Purple (survey)
#7E1E9C
ΔE00 5.20
Indigo
#4B0082
ΔE00 6.11
Indigo Blue
#3A18B1
ΔE00 7.32
Violet Blue
#510AC9
ΔE00 7.37
Purple Blue
#5D21D0
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#631C99 #52991C
analogous
#241C99 #631C99 #991C90
triadic
#631C99 #99631C #1C9963
tetradic
#631C99 #99241C #52991C #1C9099
square
#631C99 #99241C #52991C #1C9099
split-complementary
#631C99 #90991C #1C9924
monochromatic
#200932 #421365 #631C99 #8425CD #A150DF
Accessibility & contrast
On white
9.74
#631C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#631C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #631C99
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##631C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##631C99 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#593E5B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #631c99; /* rgb */ color: rgb(99, 28, 153); /* oklch */ color: oklch(41.1% 0.187 304.8);
Tailwind
colors: {
custom: {
50: '#9562b8',
500: '#631c99',
950: '#000000',
},
}SCSS
$custom: #631c99; $custom-light: #9562b8; $custom-dark: #000000;
JSON
{
"hex": "#631c99",
"rgb": {
"r": 99,
"g": 28,
"b": 153
},
"hsl": {
"h": 274.08,
"s": 69.061,
"l": 35.49
},
"oklch": {
"l": 0.41074,
"c": 0.18662,
"h": 304.8
},
"luminance": 0.05783
}Semantic roles & 50–950 ramp
primary
#631C99
secondary
#81C24F
accent
#EC3C88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80