#291380#291380
#291380 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.165 H 280.0°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).
Color values
| HEX | #291380 |
|---|---|
| RGB | rgb(41, 19, 128) |
| HSL | hsl(252, 74%, 29%) |
| HSV | hsv(252, 85%, 50%) |
| CMYK | cmyk(68%, 85.2%, 0%, 49.8%) |
| CIE-LAB | lab(17.90, 41.77, -56.43) |
| CIE-LCH | lch(17.90, 70.21, 306.50°) |
| OKLab | oklab(31.12% 0.0288 -0.1629) |
| OKLCH | oklch(31.12% 0.165 280) |
| XYZ | xyz(5.0424, 2.4953, 20.6338) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.09
Royal
#0C1793
ΔE00 3.57
Midnight Blue
#191970
ΔE00 3.77
Darkblue
#00008B
ΔE00 3.97
Navy
#000080
ΔE00 4.00
Deep Blue
#040273
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291380 #6A8013
analogous
#133480 #291380 #601380
triadic
#291380 #802913 #138029
tetradic
#291380 #801334 #6A8013 #138060
square
#291380 #801334 #6A8013 #138060
split-complementary
#291380 #806013 #348013
monochromatic
#09041B #180B4B #291380 #3A1BB5 #522DE0
Accessibility & contrast
On white
14.01
#291380 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#291380 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291380
14.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291380 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291380 | 1.00 | 14.01 | 1.50 | 14.01 |
| #FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #291380; /* rgb */ color: rgb(41, 19, 128); /* oklch */ color: oklch(31.1% 0.165 280.0);
Tailwind
colors: {
custom: {
50: '#7156a6',
500: '#291380',
950: '#000000',
},
}SCSS
$custom: #291380; $custom-light: #7156a6; $custom-dark: #000000;
JSON
{
"hex": "#291380",
"rgb": {
"r": 41,
"g": 19,
"b": 128
},
"hsl": {
"h": 252.11,
"s": 74.15,
"l": 28.824
},
"oklch": {
"l": 0.31115,
"c": 0.16543,
"h": 280
},
"luminance": 0.02496
}Semantic roles & 50–950 ramp
primary
#291380
secondary
#9CB539
accent
#F137CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F