#33147C#33147C
#33147C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.158 H 286.9°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #33147C |
|---|---|
| RGB | rgb(51, 20, 124) |
| HSL | hsl(258, 72%, 28%) |
| HSV | hsv(258, 84%, 49%) |
| CMYK | cmyk(58.9%, 83.9%, 0%, 51.4%) |
| CIE-LAB | lab(18.62, 41.21, -52.65) |
| CIE-LCH | lch(18.62, 66.86, 308.05°) |
| OKLab | oklab(31.73% 0.046 -0.1516) |
| OKLCH | oklch(31.73% 0.158 286.9) |
| XYZ | xyz(5.2524, 2.6591, 19.3014) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.64
Midnight Blue
#191970
ΔE00 4.36
Indigo
#4B0082
ΔE00 4.54
Royal
#0C1793
ΔE00 4.98
Navy
#000080
ΔE00 5.21
Darkblue
#00008B
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33147C #5D7C14
analogous
#14297C #33147C #67147C
triadic
#33147C #7C3314 #147C33
tetradic
#33147C #7C1429 #5D7C14 #147C67
square
#33147C #7C1429 #5D7C14 #147C67
split-complementary
#33147C #7C6714 #297C14
monochromatic
#0B041A #1D0B47 #33147C #491DB1 #622DDD
Accessibility & contrast
On white
13.71
#33147C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#33147C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33147C
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33147C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33147C | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#103349
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #33147c; /* rgb */ color: rgb(51, 20, 124); /* oklch */ color: oklch(31.7% 0.158 286.9);
Tailwind
colors: {
custom: {
50: '#7557a3',
500: '#33147c',
950: '#000000',
},
}SCSS
$custom: #33147c; $custom-light: #7557a3; $custom-dark: #000000;
JSON
{
"hex": "#33147c",
"rgb": {
"r": 51,
"g": 20,
"b": 124
},
"hsl": {
"h": 257.885,
"s": 72.222,
"l": 28.235
},
"oklch": {
"l": 0.3173,
"c": 0.15845,
"h": 286.9
},
"luminance": 0.02659
}Semantic roles & 50–950 ramp
primary
#33147C
secondary
#8EB23A
accent
#EF39B9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F