#2F1883#2F1883
#2F1883 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.164 H 282.2°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1883 |
|---|---|
| RGB | rgb(47, 24, 131) |
| HSL | hsl(253, 69%, 30%) |
| HSV | hsv(253, 82%, 51%) |
| CMYK | cmyk(64.1%, 81.7%, 0%, 48.6%) |
| CIE-LAB | lab(19.62, 40.95, -55.46) |
| CIE-LCH | lch(19.62, 68.94, 306.44°) |
| OKLab | oklab(32.55% 0.0347 -0.16) |
| OKLCH | oklch(32.55% 0.164 282.2) |
| XYZ | xyz(5.5944, 2.8959, 21.7325) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.42
Royal
#0C1793
ΔE00 3.66
Midnight Blue
#191970
ΔE00 4.16
Darkblue
#00008B
ΔE00 4.92
Navy
#000080
ΔE00 5.15
Indigo
#4B0082
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1883 #6C8318
analogous
#183783 #2F1883 #641883
triadic
#2F1883 #832F18 #18832F
tetradic
#2F1883 #831837 #6C8318 #188364
square
#2F1883 #831837 #6C8318 #188364
split-complementary
#2F1883 #836418 #378318
monochromatic
#0A051C #1C0F4F #2F1883 #4221B7 #5D3ADB
Accessibility & contrast
On white
13.30
#2F1883 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2F1883 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1883
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1883 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1883 | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2f1883; /* rgb */ color: rgb(47, 24, 131); /* oklch */ color: oklch(32.6% 0.164 282.2);
Tailwind
colors: {
custom: {
50: '#7459a8',
500: '#2f1883',
950: '#000000',
},
}SCSS
$custom: #2f1883; $custom-light: #7459a8; $custom-dark: #000000;
JSON
{
"hex": "#2f1883",
"rgb": {
"r": 47,
"g": 24,
"b": 131
},
"hsl": {
"h": 252.897,
"s": 69.032,
"l": 30.392
},
"oklch": {
"l": 0.32551,
"c": 0.1637,
"h": 282.2
},
"luminance": 0.02896
}Semantic roles & 50–950 ramp
primary
#2F1883
secondary
#9DB740
accent
#EC3CC6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F