#33156F#33156F
#33156F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.142 H 290.5°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).
Color values
| HEX | #33156F |
|---|---|
| RGB | rgb(51, 21, 111) |
| HSL | hsl(260, 68%, 26%) |
| HSV | hsv(260, 81%, 44%) |
| CMYK | cmyk(54.1%, 81.1%, 0%, 56.5%) |
| CIE-LAB | lab(17.40, 36.93, -46.30) |
| CIE-LCH | lch(17.40, 59.22, 308.58°) |
| OKLab | oklab(30.47% 0.0497 -0.133) |
| OKLCH | oklch(30.47% 0.142 290.5) |
| XYZ | xyz(4.5018, 2.3876, 15.2595) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.16
Midnight Blue
#191970
ΔE00 4.18
Dark Indigo
#1F0954
ΔE00 5.27
Indigo
#4B0082
ΔE00 5.35
Royal Purple (survey)
#4B006E
ΔE00 5.50
Dark Royal Blue
#02066F
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33156F #516F15
analogous
#15246F #33156F #60156F
triadic
#33156F #6F3315 #156F33
tetradic
#33156F #6F1524 #516F15 #156F60
square
#33156F #6F1524 #516F15 #156F60
split-complementary
#33156F #6F6015 #246F15
monochromatic
#0C051A #1B0B3C #33156F #4B1FA2 #6228D6
Accessibility & contrast
On white
14.21
#33156F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#33156F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33156F
14.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33156F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33156F | 1.00 | 14.21 | 1.48 | 14.21 |
| #FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#1D2E41
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #33156f; /* rgb */ color: rgb(51, 21, 111); /* oklch */ color: oklch(30.5% 0.142 290.5);
Tailwind
colors: {
custom: {
50: '#725699',
500: '#33156f',
950: '#000000',
},
}SCSS
$custom: #33156f; $custom-light: #725699; $custom-dark: #000000;
JSON
{
"hex": "#33156f",
"rgb": {
"r": 51,
"g": 21,
"b": 111
},
"hsl": {
"h": 260,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.30466,
"c": 0.14203,
"h": 290.5
},
"luminance": 0.02388
}Semantic roles & 50–950 ramp
primary
#33156F
secondary
#82A53A
accent
#EB3DB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E