#2F116F#2F116F
#2F116F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.146 H 288.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F116F |
|---|---|
| RGB | rgb(47, 17, 111) |
| HSL | hsl(259, 73%, 25%) |
| HSV | hsv(259, 85%, 44%) |
| CMYK | cmyk(57.7%, 84.7%, 0%, 56.5%) |
| CIE-LAB | lab(16.27, 38.25, -48.18) |
| CIE-LCH | lch(16.27, 61.52, 308.45°) |
| OKLab | oklab(29.57% 0.046 -0.1386) |
| OKLCH | oklch(29.57% 0.146 288.4) |
| XYZ | xyz(4.2411, 2.1527, 15.2279) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.76
Midnight Blue
#191970
ΔE00 3.95
Dark Royal Blue
#02066F
ΔE00 4.69
Deep Blue
#040273
ΔE00 4.84
Dark Indigo
#1F0954
ΔE00 4.91
Darkblue (survey)
#030764
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F116F #516F11
analogous
#11226F #2F116F #5E116F
triadic
#2F116F #6F2F11 #116F2F
tetradic
#2F116F #6F1122 #516F11 #116F5E
square
#2F116F #6F1122 #516F11 #116F5E
split-complementary
#2F116F #6F5E11 #226F11
monochromatic
#0B041B #19093A #2F116F #4519A4 #5C21D9
Accessibility & contrast
On white
14.68
#2F116F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2F116F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F116F
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F116F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F116F | 1.00 | 14.68 | 1.43 | 14.68 |
| #FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#142D41
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2f116f; /* rgb */ color: rgb(47, 17, 111); /* oklch */ color: oklch(29.6% 0.146 288.4);
Tailwind
colors: {
custom: {
50: '#705499',
500: '#2f116f',
950: '#000000',
},
}SCSS
$custom: #2f116f; $custom-light: #705499; $custom-dark: #000000;
JSON
{
"hex": "#2f116f",
"rgb": {
"r": 47,
"g": 17,
"b": 111
},
"hsl": {
"h": 259.149,
"s": 73.438,
"l": 25.098
},
"oklch": {
"l": 0.29567,
"c": 0.14608,
"h": 288.4
},
"luminance": 0.02153
}Semantic roles & 50–950 ramp
primary
#2F116F
secondary
#82A635
accent
#F038B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E