#2F1969#2F1969
#2F1969 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.130 H 288.5°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1969 |
|---|---|
| RGB | rgb(47, 25, 105) |
| HSL | hsl(257, 62%, 25%) |
| HSV | hsv(257, 76%, 41%) |
| CMYK | cmyk(55.2%, 76.2%, 0%, 58.8%) |
| CIE-LAB | lab(17.08, 32.32, -42.93) |
| CIE-LCH | lch(17.08, 53.73, 306.98°) |
| OKLab | oklab(29.95% 0.0414 -0.1233) |
| OKLCH | oklch(29.95% 0.13 288.5) |
| XYZ | xyz(4.0690, 2.3193, 13.5951) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.66
Dark Indigo
#1F0954
ΔE00 4.70
Darkblue (survey)
#030764
ΔE00 5.77
Indigo (survey)
#380282
ΔE00 5.80
Dark Royal Blue
#02066F
ΔE00 5.97
Deep Blue
#040273
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1969 #536919
analogous
#192B69 #2F1969 #571969
triadic
#2F1969 #692F19 #19692F
tetradic
#2F1969 #69192B #536919 #196957
square
#2F1969 #69192B #536919 #196957
split-complementary
#2F1969 #695719 #2B6919
monochromatic
#0B0619 #190D38 #2F1969 #45259A #5B31CC
Accessibility & contrast
On white
14.34
#2F1969 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#2F1969 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1969
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1969 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1969 | 1.00 | 14.34 | 1.46 | 14.34 |
| #FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#192E3F
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #2f1969; /* rgb */ color: rgb(47, 25, 105); /* oklch */ color: oklch(29.9% 0.130 288.5);
Tailwind
colors: {
custom: {
50: '#6f5895',
500: '#2f1969',
950: '#000000',
},
}SCSS
$custom: #2f1969; $custom-light: #6f5895; $custom-dark: #000000;
JSON
{
"hex": "#2f1969",
"rgb": {
"r": 47,
"g": 25,
"b": 105
},
"hsl": {
"h": 256.5,
"s": 61.538,
"l": 25.49
},
"oklch": {
"l": 0.29947,
"c": 0.1301,
"h": 288.5
},
"luminance": 0.0232
}Semantic roles & 50–950 ramp
primary
#2F1969
secondary
#849F3F
accent
#E543B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E