#2F1169#2F1169
#2F1169 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.139 H 290.3°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1169 |
|---|---|
| RGB | rgb(47, 17, 105) |
| HSL | hsl(260, 72%, 24%) |
| HSV | hsv(260, 84%, 41%) |
| CMYK | cmyk(55.2%, 83.8%, 0%, 58.8%) |
| CIE-LAB | lab(15.62, 36.49, -45.33) |
| CIE-LCH | lch(15.62, 58.19, 308.84°) |
| OKLab | oklab(28.92% 0.0482 -0.1303) |
| OKLCH | oklch(28.92% 0.139 290.3) |
| XYZ | xyz(3.9218, 2.0250, 13.5461) |
| Luminance | 0.0203 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.08
Midnight Blue
#191970
ΔE00 4.27
Indigo (survey)
#380282
ΔE00 4.65
Darkblue (survey)
#030764
ΔE00 5.03
Dark Royal Blue
#02066F
ΔE00 5.09
Deep Blue
#040273
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1169 #4B6911
analogous
#111F69 #2F1169 #5B1169
triadic
#2F1169 #692F11 #11692F
tetradic
#2F1169 #69111F #4B6911 #11695B
square
#2F1169 #69111F #4B6911 #11695B
split-complementary
#2F1169 #695B11 #1F6911
monochromatic
#0C041A #170834 #2F1169 #471A9E #5E22D2
Accessibility & contrast
On white
14.95
#2F1169 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#2F1169 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1169
14.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1169 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1169 | 1.00 | 14.95 | 1.41 | 14.95 |
| #FFFFFF | 14.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#192B3D
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #2f1169; /* rgb */ color: rgb(47, 17, 105); /* oklch */ color: oklch(28.9% 0.139 290.3);
Tailwind
colors: {
custom: {
50: '#6f5495',
500: '#2f1169',
950: '#000000',
},
}SCSS
$custom: #2f1169; $custom-light: #6f5495; $custom-dark: #000000;
JSON
{
"hex": "#2f1169",
"rgb": {
"r": 47,
"g": 17,
"b": 105
},
"hsl": {
"h": 260.455,
"s": 72.131,
"l": 23.922
},
"oklch": {
"l": 0.2892,
"c": 0.13893,
"h": 290.3
},
"luminance": 0.02025
}Semantic roles & 50–950 ramp
primary
#2F1169
secondary
#7CA135
accent
#EF39B1
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030D
muted
#7B787E