#30116F#30116F
#30116F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.146 H 289.1°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).
Color values
| HEX | #30116F |
|---|---|
| RGB | rgb(48, 17, 111) |
| HSL | hsl(260, 73%, 25%) |
| HSV | hsv(260, 85%, 44%) |
| CMYK | cmyk(56.8%, 84.7%, 0%, 56.5%) |
| CIE-LAB | lab(16.39, 38.38, -47.98) |
| CIE-LCH | lch(16.39, 61.44, 308.66°) |
| OKLab | oklab(29.68% 0.0477 -0.138) |
| OKLCH | oklch(29.68% 0.146 289.1) |
| XYZ | xyz(4.2878, 2.1768, 15.2301) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.73
Midnight Blue
#191970
ΔE00 4.09
Dark Royal Blue
#02066F
ΔE00 4.84
Dark Indigo
#1F0954
ΔE00 4.96
Deep Blue
#040273
ΔE00 4.97
Darkblue (survey)
#030764
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30116F #506F11
analogous
#11216F #30116F #5F116F
triadic
#30116F #6F3011 #116F30
tetradic
#30116F #6F1121 #506F11 #116F5F
square
#30116F #6F1121 #506F11 #116F5F
split-complementary
#30116F #6F5F11 #216F11
monochromatic
#0B041B #19093A #30116F #4719A4 #5E21D9
Accessibility & contrast
On white
14.63
#30116F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#30116F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30116F
14.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30116F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30116F | 1.00 | 14.63 | 1.44 | 14.63 |
| #FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#162D41
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #30116f; /* rgb */ color: rgb(48, 17, 111); /* oklch */ color: oklch(29.7% 0.146 289.1);
Tailwind
colors: {
custom: {
50: '#715499',
500: '#30116f',
950: '#000000',
},
}SCSS
$custom: #30116f; $custom-light: #715499; $custom-dark: #000000;
JSON
{
"hex": "#30116f",
"rgb": {
"r": 48,
"g": 17,
"b": 111
},
"hsl": {
"h": 259.787,
"s": 73.438,
"l": 25.098
},
"oklch": {
"l": 0.29678,
"c": 0.14603,
"h": 289.1
},
"luminance": 0.02177
}Semantic roles & 50–950 ramp
primary
#30116F
secondary
#81A635
accent
#F038B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E