#331466#331466
#331466 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.132 H 293.8°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #331466 |
|---|---|
| RGB | rgb(51, 20, 102) |
| HSL | hsl(263, 67%, 24%) |
| HSV | hsv(263, 80%, 40%) |
| CMYK | cmyk(50%, 80.4%, 0%, 60%) |
| CIE-LAB | lab(16.32, 34.79, -42.18) |
| CIE-LCH | lch(16.32, 54.67, 309.51°) |
| OKLab | oklab(29.43% 0.0534 -0.121) |
| OKLCH | oklch(29.43% 0.132 293.8) |
| XYZ | xyz(4.0130, 2.1633, 12.7739) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.25
Midnight Blue
#191970
ΔE00 4.96
Royal Purple (survey)
#4B006E
ΔE00 5.35
Indigo (survey)
#380282
ΔE00 5.44
Darkblue (survey)
#030764
ΔE00 6.02
Indigo
#4B0082
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#331466 #476614
analogous
#141E66 #331466 #5C1466
triadic
#331466 #663314 #146633
tetradic
#331466 #66141E #476614 #14665C
square
#331466 #66141E #476614 #14665C
split-complementary
#331466 #665C14 #1E6614
monochromatic
#0D051A #190A33 #331466 #4D1E99 #6628CC
Accessibility & contrast
On white
14.66
#331466 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#331466 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #331466
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##331466 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##331466 | 1.00 | 14.66 | 1.43 | 14.66 |
| #FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#242A3C
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #331466; /* rgb */ color: rgb(51, 20, 102); /* oklch */ color: oklch(29.4% 0.132 293.8);
Tailwind
colors: {
custom: {
50: '#715592',
500: '#331466',
950: '#000000',
},
}SCSS
$custom: #331466; $custom-light: #715592; $custom-dark: #000000;
JSON
{
"hex": "#331466",
"rgb": {
"r": 51,
"g": 20,
"b": 102
},
"hsl": {
"h": 262.683,
"s": 67.213,
"l": 23.922
},
"oklch": {
"l": 0.29434,
"c": 0.13223,
"h": 293.8
},
"luminance": 0.02163
}Semantic roles & 50–950 ramp
primary
#331466
secondary
#779D39
accent
#EA3EA9
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E