#330D4F#330D4F
#330D4F is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.113 H 306.1°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).
Color values
| HEX | #330D4F |
|---|---|
| RGB | rgb(51, 13, 79) |
| HSL | hsl(275, 72%, 18%) |
| HSV | hsv(275, 84%, 31%) |
| CMYK | cmyk(35.4%, 83.5%, 0%, 69%) |
| CIE-LAB | lab(12.96, 31.77, -32.20) |
| CIE-LCH | lch(12.96, 45.24, 314.61°) |
| OKLab | oklab(26.4% 0.0667 -0.0916) |
| OKLCH | oklch(26.4% 0.113 306.1) |
| XYZ | xyz(2.9201, 1.5562, 7.5422) |
| Luminance | 0.0156 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Violet
#34013F
ΔE00 4.23
Dark Purple
#35063E
ΔE00 4.52
Deep Purple
#36013F
ΔE00 4.53
Dark Indigo
#1F0954
ΔE00 4.72
Midnight Purple
#280137
ΔE00 5.00
Very Dark Purple
#2A0134
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#330D4F #294F0D
analogous
#120D4F #330D4F #4F0D4A
triadic
#330D4F #4F330D #0D4F33
tetradic
#330D4F #4F120D #294F0D #0D4A4F
square
#330D4F #4F120D #294F0D #0D4A4F
split-complementary
#330D4F #4A4F0D #0D4F12
monochromatic
#11041A #11041A #330D4F #551684 #771EB8
Accessibility & contrast
On white
16.02
#330D4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#330D4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #330D4F
16.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##330D4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##330D4F | 1.00 | 16.02 | 1.31 | 16.02 |
| #FFFFFF | 16.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#2E1E2D
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #330d4f; /* rgb */ color: rgb(51, 13, 79); /* oklch */ color: oklch(26.4% 0.113 306.1);
Tailwind
colors: {
custom: {
50: '#6e5081',
500: '#330d4f',
950: '#000000',
},
}SCSS
$custom: #330d4f; $custom-light: #6e5081; $custom-dark: #000000;
JSON
{
"hex": "#330d4f",
"rgb": {
"r": 51,
"g": 13,
"b": 79
},
"hsl": {
"h": 274.545,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.264,
"c": 0.11334,
"h": 306.1
},
"luminance": 0.01556
}Semantic roles & 50–950 ramp
primary
#330D4F
secondary
#558A2E
accent
#EE3986
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C