#330F46#330F46
#330F46 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.100 H 311.3°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).
Color values
| HEX | #330F46 |
|---|---|
| RGB | rgb(51, 15, 70) |
| HSL | hsl(279, 65%, 17%) |
| HSV | hsv(279, 79%, 27%) |
| CMYK | cmyk(27.1%, 78.6%, 0%, 72.5%) |
| CIE-LAB | lab(12.53, 28.48, -26.67) |
| CIE-LCH | lch(12.53, 39.01, 316.88°) |
| OKLab | oklab(25.85% 0.0663 -0.0754) |
| OKLCH | oklch(25.85% 0.1 311.3) |
| XYZ | xyz(2.6413, 1.4877, 5.9412) |
| Luminance | 0.0149 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Purple
#35063E
ΔE00 2.72
Dark Violet
#34013F
ΔE00 3.12
Deep Purple
#36013F
ΔE00 3.33
Midnight Purple
#280137
ΔE00 3.74
Very Dark Purple
#2A0134
ΔE00 4.16
Eggplant Purple
#430541
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#330F46 #22460F
analogous
#180F46 #330F46 #460F3E
triadic
#330F46 #46330F #0F4633
tetradic
#330F46 #46180F #22460F #0F3E46
square
#330F46 #46180F #22460F #0F3E46
split-complementary
#330F46 #3E460F #0F4618
monochromatic
#120519 #120519 #330F46 #581A78 #7C25AB
Accessibility & contrast
On white
16.18
#330F46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#330F46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #330F46
16.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##330F46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##330F46 | 1.00 | 16.18 | 1.30 | 16.18 |
| #FFFFFF | 16.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#082145
Tritanopia (blue-blind)
#311B29
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #330f46; /* rgb */ color: rgb(51, 15, 70); /* oklch */ color: oklch(25.9% 0.100 311.3);
Tailwind
colors: {
custom: {
50: '#6d517a',
500: '#330f46',
950: '#000000',
},
}SCSS
$custom: #330f46; $custom-light: #6d517a; $custom-dark: #000000;
JSON
{
"hex": "#330f46",
"rgb": {
"r": 51,
"g": 15,
"b": 70
},
"hsl": {
"h": 279.273,
"s": 64.706,
"l": 16.667
},
"oklch": {
"l": 0.25852,
"c": 0.10036,
"h": 311.3
},
"luminance": 0.01488
}Semantic roles & 50–950 ramp
primary
#330F46
secondary
#4C8030
accent
#E8407A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B