#251180#251180
#251180 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.168 H 278.0°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #251180 |
|---|---|
| RGB | rgb(37, 17, 128) |
| HSL | hsl(251, 77%, 28%) |
| HSV | hsv(251, 87%, 50%) |
| CMYK | cmyk(71.1%, 86.7%, 0%, 49.8%) |
| CIE-LAB | lab(17.24, 42.30, -57.54) |
| CIE-LCH | lch(17.24, 71.41, 306.32°) |
| OKLab | oklab(30.57% 0.0233 -0.1662) |
| OKLCH | oklch(30.57% 0.168 278) |
| XYZ | xyz(4.8584, 2.3523, 20.6159) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.20
Royal
#0C1793
ΔE00 3.40
Navy
#000080
ΔE00 3.45
Darkblue
#00008B
ΔE00 3.47
Midnight Blue
#191970
ΔE00 3.75
Deep Blue
#040273
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251180 #6C8011
analogous
#113480 #251180 #5C1180
triadic
#251180 #802511 #118025
tetradic
#251180 #801134 #6C8011 #11805C
square
#251180 #801134 #6C8011 #11805C
split-complementary
#251180 #805C11 #348011
monochromatic
#08041B #150A4A #251180 #3518B6 #4A29E3
Accessibility & contrast
On white
14.28
#251180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#251180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251180
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251180 | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #251180; /* rgb */ color: rgb(37, 17, 128); /* oklch */ color: oklch(30.6% 0.168 278.0);
Tailwind
colors: {
custom: {
50: '#6f54a6',
500: '#251180',
950: '#000000',
},
}SCSS
$custom: #251180; $custom-light: #6f54a6; $custom-dark: #000000;
JSON
{
"hex": "#251180",
"rgb": {
"r": 37,
"g": 17,
"b": 128
},
"hsl": {
"h": 250.811,
"s": 76.552,
"l": 28.431
},
"oklch": {
"l": 0.30571,
"c": 0.16782,
"h": 278
},
"luminance": 0.02353
}Semantic roles & 50–950 ramp
primary
#251180
secondary
#9FB637
accent
#F335D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F