#33177B#33177B
#33177B is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.154 H 286.7°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #33177B |
|---|---|
| RGB | rgb(51, 23, 123) |
| HSL | hsl(257, 68%, 29%) |
| HSV | hsv(257, 81%, 48%) |
| CMYK | cmyk(58.5%, 81.3%, 0%, 51.8%) |
| CIE-LAB | lab(19.00, 39.51, -51.40) |
| CIE-LCH | lch(19.00, 64.83, 307.55°) |
| OKLab | oklab(31.96% 0.0444 -0.148) |
| OKLCH | oklch(31.96% 0.154 286.7) |
| XYZ | xyz(5.2457, 2.7464, 18.9887) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.24
Midnight Blue
#191970
ΔE00 4.07
Indigo
#4B0082
ΔE00 4.91
Royal
#0C1793
ΔE00 5.06
Dark Royal Blue
#02066F
ΔE00 5.60
Navy
#000080
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33177B #5F7B17
analogous
#172D7B #33177B #65177B
triadic
#33177B #7B3317 #177B33
tetradic
#33177B #7B172D #5F7B17 #177B65
square
#33177B #7B172D #5F7B17 #177B65
split-complementary
#33177B #7B6517 #2D7B17
monochromatic
#0B051A #1E0D47 #33177B #4821AF #6233D9
Accessibility & contrast
On white
13.55
#33177B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#33177B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33177B
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33177B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33177B | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#113449
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #33177b; /* rgb */ color: rgb(51, 23, 123); /* oklch */ color: oklch(32.0% 0.154 286.7);
Tailwind
colors: {
custom: {
50: '#7458a2',
500: '#33177b',
950: '#000000',
},
}SCSS
$custom: #33177b; $custom-light: #7458a2; $custom-dark: #000000;
JSON
{
"hex": "#33177b",
"rgb": {
"r": 51,
"g": 23,
"b": 123
},
"hsl": {
"h": 256.8,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.31957,
"c": 0.15449,
"h": 286.7
},
"luminance": 0.02747
}Semantic roles & 50–950 ramp
primary
#33177B
secondary
#90B03E
accent
#EB3CBA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F