#2F146F#2F146F
#2F146F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.143 H 287.8°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2F146F |
|---|---|
| RGB | rgb(47, 20, 111) |
| HSL | hsl(258, 69%, 26%) |
| HSV | hsv(258, 82%, 44%) |
| CMYK | cmyk(57.7%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(16.76, 36.83, -47.37) |
| CIE-LCH | lch(16.76, 60.01, 307.87°) |
| OKLab | oklab(29.91% 0.0439 -0.1363) |
| OKLCH | oklch(29.91% 0.143 287.8) |
| XYZ | xyz(4.2908, 2.2521, 15.2445) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.61
Indigo (survey)
#380282
ΔE00 4.14
Dark Royal Blue
#02066F
ΔE00 4.93
Dark Indigo
#1F0954
ΔE00 5.00
Deep Blue
#040273
ΔE00 5.16
Darkblue (survey)
#030764
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F146F #546F14
analogous
#14266F #2F146F #5C146F
triadic
#2F146F #6F2F14 #146F2F
tetradic
#2F146F #6F1426 #546F14 #146F5C
square
#2F146F #6F1426 #546F14 #146F5C
split-complementary
#2F146F #6F5C14 #266F14
monochromatic
#0B051A #190B3B #2F146F #451DA3 #5B27D7
Accessibility & contrast
On white
14.48
#2F146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#2F146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F146F
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F146F | 1.00 | 14.48 | 1.45 | 14.48 |
| #FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#132E41
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2f146f; /* rgb */ color: rgb(47, 20, 111); /* oklch */ color: oklch(29.9% 0.143 287.8);
Tailwind
colors: {
custom: {
50: '#705599',
500: '#2f146f',
950: '#000000',
},
}SCSS
$custom: #2f146f; $custom-light: #705599; $custom-dark: #000000;
JSON
{
"hex": "#2f146f",
"rgb": {
"r": 47,
"g": 20,
"b": 111
},
"hsl": {
"h": 257.802,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.29907,
"c": 0.1432,
"h": 287.8
},
"luminance": 0.02252
}Semantic roles & 50–950 ramp
primary
#2F146F
secondary
#85A639
accent
#EC3CB8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E