#2C114A#2C114A
#2C114A is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.100 H 301.2°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2C114A |
|---|---|
| RGB | rgb(44, 17, 74) |
| HSL | hsl(268, 63%, 18%) |
| HSV | hsv(268, 77%, 29%) |
| CMYK | cmyk(40.5%, 77%, 0%, 71%) |
| CIE-LAB | lab(12.16, 26.81, -30.10) |
| CIE-LCH | lch(12.16, 40.31, 311.69°) |
| OKLab | oklab(25.46% 0.0519 -0.0858) |
| OKLCH | oklch(25.46% 0.1 301.2) |
| XYZ | xyz(2.4749, 1.4308, 6.6230) |
| Luminance | 0.0143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.61
Midnight Purple
#280137
ΔE00 4.84
Dark Purple
#35063E
ΔE00 5.03
Dark Violet
#34013F
ΔE00 5.09
Deep Purple
#36013F
ΔE00 5.44
Very Dark Purple
#2A0134
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C114A #2F4A11
analogous
#11134A #2C114A #48114A
triadic
#2C114A #4A2C11 #114A2C
tetradic
#2C114A #4A1113 #2F4A11 #114A48
square
#2C114A #4A1113 #2F4A11 #114A48
split-complementary
#2C114A #4A4811 #134A11
monochromatic
#0F0619 #0F0619 #2C114A #4A1C7C #6728AE
Accessibility & contrast
On white
16.33
#2C114A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#2C114A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C114A
16.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C114A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C114A | 1.00 | 16.33 | 1.29 | 16.33 |
| #FFFFFF | 16.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#261F2C
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #2c114a; /* rgb */ color: rgb(44, 17, 74); /* oklch */ color: oklch(25.5% 0.100 301.2);
Tailwind
colors: {
custom: {
50: '#68517d',
500: '#2c114a',
950: '#000000',
},
}SCSS
$custom: #2c114a; $custom-light: #68517d; $custom-dark: #000000;
JSON
{
"hex": "#2c114a",
"rgb": {
"r": 44,
"g": 17,
"b": 74
},
"hsl": {
"h": 268.421,
"s": 62.637,
"l": 17.843
},
"oklch": {
"l": 0.25462,
"c": 0.10024,
"h": 301.2
},
"luminance": 0.01431
}Semantic roles & 50–950 ramp
primary
#2C114A
secondary
#5E8333
accent
#E64298
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C