#330C5C#330C5C
#330C5C is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.5% C 0.129 H 299.5°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).
Color values
| HEX | #330C5C |
|---|---|
| RGB | rgb(51, 12, 92) |
| HSL | hsl(269, 77%, 20%) |
| HSV | hsv(269, 87%, 36%) |
| CMYK | cmyk(44.6%, 87%, 0%, 63.9%) |
| CIE-LAB | lab(14.06, 35.65, -39.24) |
| CIE-LCH | lch(14.06, 53.02, 312.25°) |
| OKLab | oklab(27.55% 0.0636 -0.1123) |
| OKLCH | oklch(27.55% 0.129 299.5) |
| XYZ | xyz(3.4280, 1.7394, 10.2783) |
| Luminance | 0.0174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.57
Royal Purple (survey)
#4B006E
ΔE00 5.06
Darkblue (survey)
#030764
ΔE00 6.58
Indigo (survey)
#380282
ΔE00 6.61
Dark Blue
#00035B
ΔE00 6.70
Dark Violet
#34013F
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#330C5C #355C0C
analogous
#0C0D5C #330C5C #5B0C5C
triadic
#330C5C #5C330C #0C5C33
tetradic
#330C5C #5C0C0D #355C0C #0C5C5B
square
#330C5C #5C0C0D #355C0C #0C5C5B
split-complementary
#330C5C #5C5B0C #0D5C0C
monochromatic
#0F041B #150526 #330C5C #511392 #6F1AC8
Accessibility & contrast
On white
15.58
#330C5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#330C5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #330C5C
15.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##330C5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##330C5C | 1.00 | 15.58 | 1.35 | 15.58 |
| #FFFFFF | 15.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#00235B
Tritanopia (blue-blind)
#292335
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #330c5c; /* rgb */ color: rgb(51, 12, 92); /* oklch */ color: oklch(27.5% 0.129 299.5);
Tailwind
colors: {
custom: {
50: '#70518b',
500: '#330c5c',
950: '#000000',
},
}SCSS
$custom: #330c5c; $custom-light: #70518b; $custom-dark: #000000;
JSON
{
"hex": "#330c5c",
"rgb": {
"r": 51,
"g": 12,
"b": 92
},
"hsl": {
"h": 269.25,
"s": 76.923,
"l": 20.392
},
"oklch": {
"l": 0.27548,
"c": 0.12903,
"h": 299.5
},
"luminance": 0.01739
}Semantic roles & 50–950 ramp
primary
#330C5C
secondary
#63972D
accent
#F33496
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D