#2F136F#2F136F
#2F136F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.144 H 288.0°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F136F |
|---|---|
| RGB | rgb(47, 19, 111) |
| HSL | hsl(258, 71%, 25%) |
| HSV | hsv(258, 83%, 44%) |
| CMYK | cmyk(57.7%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(16.59, 37.32, -47.65) |
| CIE-LCH | lch(16.59, 60.53, 308.07°) |
| OKLab | oklab(29.79% 0.0446 -0.1371) |
| OKLCH | oklch(29.79% 0.144 288) |
| XYZ | xyz(4.2736, 2.2176, 15.2387) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.72
Indigo (survey)
#380282
ΔE00 4.00
Dark Royal Blue
#02066F
ΔE00 4.84
Dark Indigo
#1F0954
ΔE00 4.96
Deep Blue
#040273
ΔE00 5.04
Darkblue (survey)
#030764
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F136F #536F13
analogous
#13256F #2F136F #5D136F
triadic
#2F136F #6F2F13 #136F2F
tetradic
#2F136F #6F1325 #536F13 #136F5D
square
#2F136F #6F1325 #536F13 #136F5D
split-complementary
#2F136F #6F5D13 #256F13
monochromatic
#0B041A #190A3B #2F136F #451CA3 #5B25D8
Accessibility & contrast
On white
14.55
#2F136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#2F136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F136F
14.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F136F | 1.00 | 14.55 | 1.44 | 14.55 |
| #FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#142E41
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2f136f; /* rgb */ color: rgb(47, 19, 111); /* oklch */ color: oklch(29.8% 0.144 288.0);
Tailwind
colors: {
custom: {
50: '#705599',
500: '#2f136f',
950: '#000000',
},
}SCSS
$custom: #2f136f; $custom-light: #705599; $custom-dark: #000000;
JSON
{
"hex": "#2f136f",
"rgb": {
"r": 47,
"g": 19,
"b": 111
},
"hsl": {
"h": 258.261,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.2979,
"c": 0.14419,
"h": 288
},
"luminance": 0.02218
}Semantic roles & 50–950 ramp
primary
#2F136F
secondary
#84A638
accent
#EE3AB7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E