#2F1369#2F1369
#2F1369 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.137 H 289.9°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1369 |
|---|---|
| RGB | rgb(47, 19, 105) |
| HSL | hsl(260, 69%, 24%) |
| HSV | hsv(260, 82%, 41%) |
| CMYK | cmyk(55.2%, 81.9%, 0%, 58.8%) |
| CIE-LAB | lab(15.95, 35.53, -44.78) |
| CIE-LCH | lch(15.95, 57.16, 308.43°) |
| OKLab | oklab(29.15% 0.0466 -0.1287) |
| OKLCH | oklch(29.15% 0.137 289.9) |
| XYZ | xyz(3.9542, 2.0898, 13.5569) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.07
Dark Indigo
#1F0954
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 4.87
Darkblue (survey)
#030764
ΔE00 5.15
Dark Royal Blue
#02066F
ΔE00 5.24
Deep Blue
#040273
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1369 #4D6913
analogous
#132269 #2F1369 #5A1369
triadic
#2F1369 #692F13 #13692F
tetradic
#2F1369 #691322 #4D6913 #13695A
square
#2F1369 #691322 #4D6913 #13695A
split-complementary
#2F1369 #695A13 #226913
monochromatic
#0C051A #180A35 #2F1369 #461C9D #5D26D1
Accessibility & contrast
On white
14.81
#2F1369 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#2F1369 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1369
14.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1369 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1369 | 1.00 | 14.81 | 1.42 | 14.81 |
| #FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#192C3E
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2f1369; /* rgb */ color: rgb(47, 19, 105); /* oklch */ color: oklch(29.2% 0.137 289.9);
Tailwind
colors: {
custom: {
50: '#6f5595',
500: '#2f1369',
950: '#000000',
},
}SCSS
$custom: #2f1369; $custom-light: #6f5595; $custom-dark: #000000;
JSON
{
"hex": "#2f1369",
"rgb": {
"r": 47,
"g": 19,
"b": 105
},
"hsl": {
"h": 259.535,
"s": 69.355,
"l": 24.314
},
"oklch": {
"l": 0.29153,
"c": 0.1369,
"h": 289.9
},
"luminance": 0.0209
}Semantic roles & 50–950 ramp
primary
#2F1369
secondary
#7EA038
accent
#EC3CB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E