#2D114F#2D114F
#2D114F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.107 H 299.5°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2D114F |
|---|---|
| RGB | rgb(45, 17, 79) |
| HSL | hsl(267, 65%, 19%) |
| HSV | hsv(267, 78%, 31%) |
| CMYK | cmyk(43%, 78.5%, 0%, 69%) |
| CIE-LAB | lab(12.76, 28.50, -32.58) |
| CIE-LCH | lch(12.76, 43.28, 311.17°) |
| OKLab | oklab(26.06% 0.0525 -0.093) |
| OKLCH | oklch(26.06% 0.107 299.5) |
| XYZ | xyz(2.6936, 1.5233, 7.5477) |
| Luminance | 0.0152 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.80
Dark Violet
#34013F
ΔE00 5.57
Midnight Purple
#280137
ΔE00 5.60
Dark Purple
#35063E
ΔE00 5.69
Deep Purple
#36013F
ΔE00 5.92
Very Dark Purple
#2A0134
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D114F #334F11
analogous
#11144F #2D114F #4C114F
triadic
#2D114F #4F2D11 #114F2D
tetradic
#2D114F #4F1114 #334F11 #114F4C
square
#2D114F #4F1114 #334F11 #114F4C
split-complementary
#2D114F #4F4C11 #144F11
monochromatic
#0E0519 #10061D #2D114F #4A1C81 #6627B4
Accessibility & contrast
On white
16.10
#2D114F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#2D114F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D114F
16.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D114F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D114F | 1.00 | 16.10 | 1.30 | 16.10 |
| #FFFFFF | 16.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#25202E
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #2d114f; /* rgb */ color: rgb(45, 17, 79); /* oklch */ color: oklch(26.1% 0.107 299.5);
Tailwind
colors: {
custom: {
50: '#6a5281',
500: '#2d114f',
950: '#000000',
},
}SCSS
$custom: #2d114f; $custom-light: #6a5281; $custom-dark: #000000;
JSON
{
"hex": "#2d114f",
"rgb": {
"r": 45,
"g": 17,
"b": 79
},
"hsl": {
"h": 267.097,
"s": 64.583,
"l": 18.824
},
"oklch": {
"l": 0.26058,
"c": 0.10681,
"h": 299.5
},
"luminance": 0.01523
}Semantic roles & 50–950 ramp
primary
#2D114F
secondary
#628833
accent
#E8409C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C