#30137C#30137C
#30137C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.3% C 0.160 H 285.1°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #30137C |
|---|---|
| RGB | rgb(48, 19, 124) |
| HSL | hsl(257, 73%, 28%) |
| HSV | hsv(257, 85%, 49%) |
| CMYK | cmyk(61.3%, 84.7%, 0%, 51.4%) |
| CIE-LAB | lab(18.14, 41.30, -53.47) |
| CIE-LCH | lch(18.14, 67.56, 307.68°) |
| OKLab | oklab(31.32% 0.0416 -0.1541) |
| OKLCH | oklch(31.32% 0.16 285.1) |
| XYZ | xyz(5.0888, 2.5490, 19.2887) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.65
Midnight Blue
#191970
ΔE00 4.09
Royal
#0C1793
ΔE00 4.69
Navy
#000080
ΔE00 4.77
Indigo
#4B0082
ΔE00 4.84
Deep Blue
#040273
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30137C #5F7C13
analogous
#132B7C #30137C #64137C
triadic
#30137C #7C3013 #137C30
tetradic
#30137C #7C132B #5F7C13 #137C64
square
#30137C #7C132B #5F7C13 #137C64
split-complementary
#30137C #7C6413 #2B7C13
monochromatic
#0A041B #1B0B47 #30137C #451BB1 #5D2BDF
Accessibility & contrast
On white
13.91
#30137C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#30137C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30137C
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30137C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30137C | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#023349
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #30137c; /* rgb */ color: rgb(48, 19, 124); /* oklch */ color: oklch(31.3% 0.160 285.1);
Tailwind
colors: {
custom: {
50: '#7356a3',
500: '#30137c',
950: '#000000',
},
}SCSS
$custom: #30137c; $custom-light: #7356a3; $custom-dark: #000000;
JSON
{
"hex": "#30137c",
"rgb": {
"r": 48,
"g": 19,
"b": 124
},
"hsl": {
"h": 256.571,
"s": 73.427,
"l": 28.039
},
"oklch": {
"l": 0.31317,
"c": 0.1596,
"h": 285.1
},
"luminance": 0.02549
}Semantic roles & 50–950 ramp
primary
#30137C
secondary
#90B239
accent
#F038BD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F