#33197F#33197F
#33197F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.157 H 285.4°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #33197F |
|---|---|
| RGB | rgb(51, 25, 127) |
| HSL | hsl(255, 67%, 30%) |
| HSV | hsv(255, 80%, 50%) |
| CMYK | cmyk(59.8%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(19.77, 39.73, -52.68) |
| CIE-LCH | lch(19.77, 65.98, 307.02°) |
| OKLab | oklab(32.62% 0.0417 -0.1518) |
| OKLCH | oklch(32.62% 0.157 285.4) |
| XYZ | xyz(5.5425, 2.9310, 20.3482) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.44
Midnight Blue
#191970
ΔE00 4.19
Royal
#0C1793
ΔE00 4.57
Indigo
#4B0082
ΔE00 5.10
Darkblue
#00008B
ΔE00 5.64
Navy
#000080
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33197F #657F19
analogous
#19327F #33197F #66197F
triadic
#33197F #7F3319 #197F33
tetradic
#33197F #7F1932 #657F19 #197F66
square
#33197F #7F1932 #657F19 #197F66
split-complementary
#33197F #7F6619 #327F19
monochromatic
#0A051A #1E0F4C #33197F #4823B2 #623AD8
Accessibility & contrast
On white
13.24
#33197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#33197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33197F
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33197F | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#09374C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #33197f; /* rgb */ color: rgb(51, 25, 127); /* oklch */ color: oklch(32.6% 0.157 285.4);
Tailwind
colors: {
custom: {
50: '#755aa5',
500: '#33197f',
950: '#000000',
},
}SCSS
$custom: #33197f; $custom-light: #755aa5; $custom-dark: #000000;
JSON
{
"hex": "#33197f",
"rgb": {
"r": 51,
"g": 25,
"b": 127
},
"hsl": {
"h": 255.294,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.3262,
"c": 0.15737,
"h": 285.4
},
"luminance": 0.02931
}Semantic roles & 50–950 ramp
primary
#33197F
secondary
#96B341
accent
#EA3EBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F