#251081#251081
#251081 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.6% C 0.170 H 277.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #251081 |
|---|---|
| RGB | rgb(37, 16, 129) |
| HSL | hsl(251, 78%, 28%) |
| HSV | hsv(251, 88%, 51%) |
| CMYK | cmyk(71.3%, 87.6%, 0%, 49.4%) |
| CIE-LAB | lab(17.22, 43.02, -58.21) |
| CIE-LCH | lch(17.22, 72.38, 306.47°) |
| OKLab | oklab(30.6% 0.0233 -0.1681) |
| OKLCH | oklch(30.6% 0.17 277.9) |
| XYZ | xyz(4.9094, 2.3484, 20.9592) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.08
Darkblue
#00008B
ΔE00 3.29
Navy
#000080
ΔE00 3.33
Royal
#0C1793
ΔE00 3.35
Deep Blue
#040273
ΔE00 3.87
Midnight Blue
#191970
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251081 #6C8110
analogous
#103481 #251081 #5D1081
triadic
#251081 #812510 #108125
tetradic
#251081 #811034 #6C8110 #10815D
square
#251081 #811034 #6C8110 #10815D
split-complementary
#251081 #815D10 #348110
monochromatic
#08031B #15094B #251081 #3517B7 #4A27E4
Accessibility & contrast
On white
14.29
#251081 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#251081 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251081
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251081 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251081 | 1.00 | 14.29 | 1.47 | 14.29 |
| #FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #251081; /* rgb */ color: rgb(37, 16, 129); /* oklch */ color: oklch(30.6% 0.170 277.9);
Tailwind
colors: {
custom: {
50: '#7054a7',
500: '#251081',
950: '#000000',
},
}SCSS
$custom: #251081; $custom-light: #7054a7; $custom-dark: #000000;
JSON
{
"hex": "#251081",
"rgb": {
"r": 37,
"g": 16,
"b": 129
},
"hsl": {
"h": 251.15,
"s": 77.931,
"l": 28.431
},
"oklch": {
"l": 0.30595,
"c": 0.16971,
"h": 277.9
},
"luminance": 0.02349
}Semantic roles & 50–950 ramp
primary
#251081
secondary
#9FB736
accent
#F433D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F