#431F94#431F94
#431F94 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.175 H 288.8°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #431F94 |
|---|---|
| RGB | rgb(67, 31, 148) |
| HSL | hsl(258, 65%, 35%) |
| HSV | hsv(258, 79%, 58%) |
| CMYK | cmyk(54.7%, 79.1%, 0%, 42%) |
| CIE-LAB | lab(24.67, 45.15, -57.68) |
| CIE-LCH | lch(24.67, 73.25, 308.05°) |
| OKLab | oklab(37.1% 0.0564 -0.1659) |
| OKLCH | oklch(37.1% 0.175 288.8) |
| XYZ | xyz(8.1485, 4.3110, 28.4140) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.26
Indigo (survey)
#380282
ΔE00 5.11
Indigo
#4B0082
ΔE00 5.24
Royal
#0C1793
ΔE00 5.59
Ultramarine
#2000B1
ΔE00 6.07
Cobalt Blue
#030AA7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#431F94 #70941F
analogous
#1F3594 #431F94 #7E1F94
triadic
#431F94 #94431F #1F9443
tetradic
#431F94 #941F35 #70941F #1F947E
square
#431F94 #941F35 #70941F #1F947E
split-complementary
#431F94 #947E1F #35941F
monochromatic
#150A2F #2C1461 #431F94 #5A2AC7 #7C53DB
Accessibility & contrast
On white
11.28
#431F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#431F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #431F94
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##431F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##431F94 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#234159
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #431f94; /* rgb */ color: rgb(67, 31, 148); /* oklch */ color: oklch(37.1% 0.175 288.8);
Tailwind
colors: {
custom: {
50: '#815fb5',
500: '#431f94',
950: '#000000',
},
}SCSS
$custom: #431f94; $custom-light: #815fb5; $custom-dark: #000000;
JSON
{
"hex": "#431f94",
"rgb": {
"r": 67,
"g": 31,
"b": 148
},
"hsl": {
"h": 258.462,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.37104,
"c": 0.17521,
"h": 288.8
},
"luminance": 0.04311
}Semantic roles & 50–950 ramp
primary
#431F94
secondary
#9CBE51
accent
#E83FB4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980