#431F7C#431F7C
#431F7C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.147 H 295.3°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #431F7C |
|---|---|
| RGB | rgb(67, 31, 124) |
| HSL | hsl(263, 60%, 30%) |
| HSV | hsv(263, 75%, 49%) |
| CMYK | cmyk(46%, 75%, 0%, 51.4%) |
| CIE-LAB | lab(22.40, 38.33, -46.38) |
| CIE-LCH | lch(22.40, 60.17, 309.57°) |
| OKLab | oklab(34.81% 0.0629 -0.1328) |
| OKLCH | oklch(34.81% 0.147 295.3) |
| XYZ | xyz(6.4418, 3.6283, 19.4258) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.55
Indigo (survey)
#380282
ΔE00 4.95
Royal Purple (survey)
#4B006E
ΔE00 5.53
Midnight Blue
#191970
ΔE00 6.48
Royal
#0C1793
ΔE00 7.37
Rebeccapurple
#663399
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F7C #587C1F
analogous
#1F297C #431F7C #711F7C
triadic
#431F7C #7C431F #1F7C43
tetradic
#431F7C #7C1F29 #587C1F #1F7C71
square
#431F7C #7C1F29 #587C1F #1F7C71
split-complementary
#431F7C #7C711F #297C1F
monochromatic
#0E071A #29134B #431F7C #5D2BAD #7B45D0
Accessibility & contrast
On white
12.17
#431F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#431F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F7C
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F7C | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#33374B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #431f7c; /* rgb */ color: rgb(67, 31, 124); /* oklch */ color: oklch(34.8% 0.147 295.3);
Tailwind
colors: {
custom: {
50: '#7d5ea3',
500: '#431f7c',
950: '#000000',
},
}SCSS
$custom: #431f7c; $custom-light: #7d5ea3; $custom-dark: #000000;
JSON
{
"hex": "#431f7c",
"rgb": {
"r": 67,
"g": 31,
"b": 124
},
"hsl": {
"h": 263.226,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.34814,
"c": 0.14692,
"h": 295.3
},
"luminance": 0.03629
}Semantic roles & 50–950 ramp
primary
#431F7C
secondary
#87AF48
accent
#E345A6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F