#33146F#33146F
#33146F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.143 H 290.7°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #33146F |
|---|---|
| RGB | rgb(51, 20, 111) |
| HSL | hsl(260, 69%, 26%) |
| HSV | hsv(260, 82%, 44%) |
| CMYK | cmyk(54.1%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(17.23, 37.42, -46.57) |
| CIE-LCH | lch(17.23, 59.74, 308.78°) |
| OKLab | oklab(30.35% 0.0505 -0.1338) |
| OKLCH | oklch(30.35% 0.143 290.7) |
| XYZ | xyz(4.4838, 2.3516, 15.2535) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.02
Midnight Blue
#191970
ΔE00 4.27
Dark Indigo
#1F0954
ΔE00 5.23
Indigo
#4B0082
ΔE00 5.24
Royal Purple (survey)
#4B006E
ΔE00 5.38
Dark Royal Blue
#02066F
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33146F #506F14
analogous
#14226F #33146F #60146F
triadic
#33146F #6F3314 #146F33
tetradic
#33146F #6F1422 #506F14 #146F60
square
#33146F #6F1422 #506F14 #146F60
split-complementary
#33146F #6F6014 #226F14
monochromatic
#0C051A #1B0B3B #33146F #4B1DA3 #6327D7
Accessibility & contrast
On white
14.28
#33146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#33146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33146F
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33146F | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#1D2E41
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #33146f; /* rgb */ color: rgb(51, 20, 111); /* oklch */ color: oklch(30.3% 0.143 290.7);
Tailwind
colors: {
custom: {
50: '#725699',
500: '#33146f',
950: '#000000',
},
}SCSS
$custom: #33146f; $custom-light: #725699; $custom-dark: #000000;
JSON
{
"hex": "#33146f",
"rgb": {
"r": 51,
"g": 20,
"b": 111
},
"hsl": {
"h": 260.44,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.30348,
"c": 0.14307,
"h": 290.7
},
"luminance": 0.02352
}Semantic roles & 50–950 ramp
primary
#33146F
secondary
#81A639
accent
#EC3CB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E