#330C53#330C53
#330C53 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.119 H 304.0°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).
Color values
| HEX | #330C53 |
|---|---|
| RGB | rgb(51, 12, 83) |
| HSL | hsl(273, 75%, 19%) |
| HSV | hsv(273, 86%, 33%) |
| CMYK | cmyk(38.6%, 85.5%, 0%, 67.5%) |
| CIE-LAB | lab(13.18, 33.26, -34.59) |
| CIE-LCH | lch(13.18, 47.99, 313.87°) |
| OKLab | oklab(26.67% 0.0665 -0.0986) |
| OKLCH | oklch(26.67% 0.119 304) |
| XYZ | xyz(3.0577, 1.5913, 8.3280) |
| Luminance | 0.0159 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.13
Dark Violet
#34013F
ΔE00 4.96
Deep Purple
#36013F
ΔE00 5.27
Dark Purple
#35063E
ΔE00 5.40
Midnight Purple
#280137
ΔE00 5.75
Royal Purple (survey)
#4B006E
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#330C53 #2C530C
analogous
#0F0C53 #330C53 #530C4F
triadic
#330C53 #53330C #0C5333
tetradic
#330C53 #530F0C #2C530C #0C4F53
square
#330C53 #530F0C #2C530C #0C4F53
split-complementary
#330C53 #4F530C #0C530F
monochromatic
#10041B #12041E #330C53 #541488 #751BBE
Accessibility & contrast
On white
15.93
#330C53 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#330C53 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #330C53
15.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##330C53 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##330C53 | 1.00 | 15.93 | 1.32 | 15.93 |
| #FFFFFF | 15.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#002252
Tritanopia (blue-blind)
#2D1F2F
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #330c53; /* rgb */ color: rgb(51, 12, 83); /* oklch */ color: oklch(26.7% 0.119 304.0);
Tailwind
colors: {
custom: {
50: '#6f5084',
500: '#330c53',
950: '#000000',
},
}SCSS
$custom: #330c53; $custom-light: #6f5084; $custom-dark: #000000;
JSON
{
"hex": "#330c53",
"rgb": {
"r": 51,
"g": 12,
"b": 83
},
"hsl": {
"h": 272.958,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.26666,
"c": 0.11898,
"h": 304
},
"luminance": 0.01591
}Semantic roles & 50–950 ramp
primary
#330C53
secondary
#598E2D
accent
#F1368B
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C