#2C114F#2C114F
#2C114F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.107 H 298.5°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2C114F |
|---|---|
| RGB | rgb(44, 17, 79) |
| HSL | hsl(266, 65%, 19%) |
| HSV | hsv(266, 78%, 31%) |
| CMYK | cmyk(44.3%, 78.5%, 0%, 69%) |
| CIE-LAB | lab(12.61, 28.28, -32.82) |
| CIE-LCH | lch(12.61, 43.32, 310.76°) |
| OKLab | oklab(25.92% 0.0509 -0.0937) |
| OKLCH | oklch(25.92% 0.107 298.5) |
| XYZ | xyz(2.6501, 1.5008, 7.5457) |
| Luminance | 0.0150 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.62
Midnight Purple
#280137
ΔE00 5.69
Dark Violet
#34013F
ΔE00 5.74
Dark Purple
#35063E
ΔE00 5.87
Deep Purple
#36013F
ΔE00 6.11
Night Blue
#040348
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C114F #344F11
analogous
#11154F #2C114F #4B114F
triadic
#2C114F #4F2C11 #114F2C
tetradic
#2C114F #4F1115 #344F11 #114F4B
square
#2C114F #4F1115 #344F11 #114F4B
split-complementary
#2C114F #4F4B11 #154F11
monochromatic
#0E0519 #10061D #2C114F #481C81 #6427B4
Accessibility & contrast
On white
16.15
#2C114F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#2C114F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C114F
16.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C114F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C114F | 1.00 | 16.15 | 1.30 | 16.15 |
| #FFFFFF | 16.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#23202E
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #2c114f; /* rgb */ color: rgb(44, 17, 79); /* oklch */ color: oklch(25.9% 0.107 298.5);
Tailwind
colors: {
custom: {
50: '#695281',
500: '#2c114f',
950: '#000000',
},
}SCSS
$custom: #2c114f; $custom-light: #695281; $custom-dark: #000000;
JSON
{
"hex": "#2c114f",
"rgb": {
"r": 44,
"g": 17,
"b": 79
},
"hsl": {
"h": 266.129,
"s": 64.583,
"l": 18.824
},
"oklch": {
"l": 0.25925,
"c": 0.10665,
"h": 298.5
},
"luminance": 0.01501
}Semantic roles & 50–950 ramp
primary
#2C114F
secondary
#638833
accent
#E8409F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C