#330F3E#330F3E
#330F3E is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.091 H 317.3°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).
Color values
| HEX | #330F3E |
|---|---|
| RGB | rgb(51, 15, 62) |
| HSL | hsl(286, 61%, 15%) |
| HSV | hsv(286, 76%, 24%) |
| CMYK | cmyk(17.7%, 75.8%, 0%, 75.7%) |
| CIE-LAB | lab(11.91, 26.48, -22.02) |
| CIE-LCH | lch(11.91, 34.44, 320.25°) |
| OKLab | oklab(25.21% 0.067 -0.0618) |
| OKLCH | oklch(25.21% 0.091 317.3) |
| XYZ | xyz(2.4054, 1.3934, 4.6987) |
| Luminance | 0.0139 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Dark Purple
#35063E
ΔE00 2.15
Dark Violet
#34013F
ΔE00 3.30
Deep Purple
#36013F
ΔE00 3.30
Very Dark Purple
#2A0134
ΔE00 3.34
Midnight Purple
#280137
ΔE00 3.64
Eggplant
#380835
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#330F3E #1A3E0F
analogous
#1B0F3E #330F3E #3E0F32
triadic
#330F3E #3E330F #0F3E33
tetradic
#330F3E #3E1B0F #1A3E0F #0F323E
square
#330F3E #3E1B0F #1A3E0F #0F323E
split-complementary
#330F3E #323E0F #0F3E1B
monochromatic
#140619 #140619 #330F3E #5C1B6F #8427A1
Accessibility & contrast
On white
16.42
#330F3E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#330F3E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #330F3E
16.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##330F3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##330F3E | 1.00 | 16.42 | 1.28 | 16.42 |
| #FFFFFF | 16.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#011D3F
Deuteranopia (green-blind)
#10203D
Tritanopia (blue-blind)
#331825
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #330f3e; /* rgb */ color: rgb(51, 15, 62); /* oklch */ color: oklch(25.2% 0.091 317.3);
Tailwind
colors: {
custom: {
50: '#6d5073',
500: '#330f3e',
950: '#000000',
},
}SCSS
$custom: #330f3e; $custom-light: #6d5073; $custom-dark: #000000;
JSON
{
"hex": "#330f3e",
"rgb": {
"r": 51,
"g": 15,
"b": 62
},
"hsl": {
"h": 285.957,
"s": 61.039,
"l": 15.098
},
"oklch": {
"l": 0.25214,
"c": 0.09112,
"h": 317.3
},
"luminance": 0.01393
}Semantic roles & 50–950 ramp
primary
#330F3E
secondary
#417830
accent
#E44469
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B