#30167C#30167C
#30167C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.157 H 284.7°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #30167C |
|---|---|
| RGB | rgb(48, 22, 124) |
| HSL | hsl(255, 70%, 29%) |
| HSV | hsv(255, 82%, 49%) |
| CMYK | cmyk(61.3%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(18.61, 39.91, -52.68) |
| CIE-LCH | lch(18.61, 66.09, 307.15°) |
| OKLab | oklab(31.65% 0.0398 -0.1518) |
| OKLCH | oklch(31.65% 0.157 284.7) |
| XYZ | xyz(5.1428, 2.6571, 19.3067) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.16
Midnight Blue
#191970
ΔE00 3.81
Royal
#0C1793
ΔE00 4.62
Navy
#000080
ΔE00 5.12
Indigo
#4B0082
ΔE00 5.15
Dark Royal Blue
#02066F
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30167C #627C16
analogous
#162F7C #30167C #63167C
triadic
#30167C #7C3016 #167C30
tetradic
#30167C #7C162F #627C16 #167C63
square
#30167C #7C162F #627C16 #167C63
split-complementary
#30167C #7C6316 #2F7C16
monochromatic
#0A051A #1C0D48 #30167C #441FB0 #5D32DB
Accessibility & contrast
On white
13.71
#30167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#30167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30167C
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30167C | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#023449
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #30167c; /* rgb */ color: rgb(48, 22, 124); /* oklch */ color: oklch(31.6% 0.157 284.7);
Tailwind
colors: {
custom: {
50: '#7357a3',
500: '#30167c',
950: '#000000',
},
}SCSS
$custom: #30167c; $custom-light: #7357a3; $custom-dark: #000000;
JSON
{
"hex": "#30167c",
"rgb": {
"r": 48,
"g": 22,
"b": 124
},
"hsl": {
"h": 255.294,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.31646,
"c": 0.15695,
"h": 284.7
},
"luminance": 0.02657
}Semantic roles & 50–950 ramp
primary
#30167C
secondary
#93B13D
accent
#ED3BBF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F