#33186C#33186C
#33186C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.135 H 290.8°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).
Color values
| HEX | #33186C |
|---|---|
| RGB | rgb(51, 24, 108) |
| HSL | hsl(259, 64%, 26%) |
| HSV | hsv(259, 78%, 42%) |
| CMYK | cmyk(52.8%, 77.8%, 0%, 57.6%) |
| CIE-LAB | lab(17.64, 34.49, -43.95) |
| CIE-LCH | lch(17.64, 55.87, 308.12°) |
| OKLab | oklab(30.54% 0.048 -0.1262) |
| OKLCH | oklch(30.54% 0.135 290.8) |
| XYZ | xyz(4.3979, 2.4396, 14.4236) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 5.07
Dark Indigo
#1F0954
ΔE00 5.12
Royal Purple (survey)
#4B006E
ΔE00 5.87
Indigo
#4B0082
ΔE00 6.03
Dark Royal Blue
#02066F
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33186C #516C18
analogous
#18276C #33186C #5D186C
triadic
#33186C #6C3318 #186C33
tetradic
#33186C #6C1827 #516C18 #186C5D
square
#33186C #6C1827 #516C18 #186C5D
split-complementary
#33186C #6C5D18 #276C18
monochromatic
#0C0619 #1B0D3A #33186C #4B239E #622ED0
Accessibility & contrast
On white
14.11
#33186C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#33186C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33186C
14.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33186C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33186C | 1.00 | 14.11 | 1.49 | 14.11 |
| #FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#1F2F40
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #33186c; /* rgb */ color: rgb(51, 24, 108); /* oklch */ color: oklch(30.5% 0.135 290.8);
Tailwind
colors: {
custom: {
50: '#715897',
500: '#33186c',
950: '#000000',
},
}SCSS
$custom: #33186c; $custom-light: #715897; $custom-dark: #000000;
JSON
{
"hex": "#33186c",
"rgb": {
"r": 51,
"g": 24,
"b": 108
},
"hsl": {
"h": 259.286,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.30543,
"c": 0.13502,
"h": 290.8
},
"luminance": 0.0244
}Semantic roles & 50–950 ramp
primary
#33186C
secondary
#82A23E
accent
#E741B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E