#30149F#30149F
#30149F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.4% C 0.199 H 278.2°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #30149F |
|---|---|
| RGB | rgb(48, 20, 159) |
| HSL | hsl(252, 78%, 35%) |
| HSV | hsv(252, 87%, 62%) |
| CMYK | cmyk(69.8%, 87.4%, 0%, 37.6%) |
| CIE-LAB | lab(22.41, 51.01, -68.23) |
| CIE-LCH | lch(22.41, 85.19, 306.78°) |
| OKLab | oklab(35.45% 0.0284 -0.197) |
| OKLCH | oklch(35.45% 0.199 278.2) |
| XYZ | xyz(7.7251, 3.6312, 33.0880) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.84
Indigo Blue
#3A18B1
ΔE00 2.86
Ultramarine
#2000B1
ΔE00 2.92
Royal Blue (survey)
#0504AA
ΔE00 3.06
Royal
#0C1793
ΔE00 3.41
Indigo (survey)
#380282
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30149F #839F14
analogous
#143E9F #30149F #75149F
triadic
#30149F #9F3014 #149F30
tetradic
#30149F #9F143E #839F14 #149F75
square
#30149F #9F143E #839F14 #149F75
split-complementary
#30149F #9F7514 #3E9F14
monochromatic
#0F0632 #200D69 #30149F #401BD5 #6646E8
Accessibility & contrast
On white
12.16
#30149F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#30149F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30149F
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30149F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30149F | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #30149f; /* rgb */ color: rgb(48, 20, 159); /* oklch */ color: oklch(35.4% 0.199 278.2);
Tailwind
colors: {
custom: {
50: '#7b59bd',
500: '#30149f',
950: '#000000',
},
}SCSS
$custom: #30149f; $custom-light: #7b59bd; $custom-dark: #000000;
JSON
{
"hex": "#30149f",
"rgb": {
"r": 48,
"g": 20,
"b": 159
},
"hsl": {
"h": 252.086,
"s": 77.654,
"l": 35.098
},
"oklch": {
"l": 0.3545,
"c": 0.19907,
"h": 278.2
},
"luminance": 0.03632
}Semantic roles & 50–950 ramp
primary
#30149F
secondary
#AEC846
accent
#F434CD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981