#33266F#33266F
#33266F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.0% C 0.121 H 285.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #33266F |
|---|---|
| RGB | rgb(51, 38, 111) |
| HSL | hsl(251, 49%, 29%) |
| HSV | hsv(251, 66%, 44%) |
| CMYK | cmyk(54.1%, 65.8%, 0%, 56.5%) |
| CIE-LAB | lab(20.97, 27.07, -40.46) |
| CIE-LCH | lch(20.97, 48.68, 303.78°) |
| OKLab | oklab(33.01% 0.033 -0.116) |
| OKLCH | oklch(33.01% 0.121 285.9) |
| XYZ | xyz(4.9267, 3.2375, 15.4011) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.78
Darkslateblue
#483D8B
ΔE00 7.40
Dark Indigo
#1F0954
ΔE00 7.68
Indigo (survey)
#380282
ΔE00 7.98
Royal
#0C1793
ΔE00 8.07
Darkblue (survey)
#030764
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33266F #626F26
analogous
#263E6F #33266F #58266F
triadic
#33266F #6F3326 #266F33
tetradic
#33266F #6F263E #626F26 #266F58
square
#33266F #6F263E #626F26 #266F58
split-complementary
#33266F #6F5826 #3E6F26
monochromatic
#0A0817 #1E1641 #33266F #48369D #624DC2
Accessibility & contrast
On white
12.75
#33266F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#33266F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33266F
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33266F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33266F | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#1C3846
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #33266f; /* rgb */ color: rgb(51, 38, 111); /* oklch */ color: oklch(33.0% 0.121 285.9);
Tailwind
colors: {
custom: {
50: '#716199',
500: '#33266f',
950: '#000000',
},
}SCSS
$custom: #33266f; $custom-light: #716199; $custom-dark: #000000;
JSON
{
"hex": "#33266f",
"rgb": {
"r": 51,
"g": 38,
"b": 111
},
"hsl": {
"h": 250.685,
"s": 48.993,
"l": 29.216
},
"oklch": {
"l": 0.33014,
"c": 0.1206,
"h": 285.9
},
"luminance": 0.03238
}Semantic roles & 50–950 ramp
primary
#33266F
secondary
#93A24F
accent
#D94FC0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E