#2C133F#2C133F
#2C133F is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.8% C 0.083 H 307.6°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2C133F |
|---|---|
| RGB | rgb(44, 19, 63) |
| HSL | hsl(274, 54%, 16%) |
| HSV | hsv(274, 70%, 25%) |
| CMYK | cmyk(30.2%, 69.8%, 0%, 75.3%) |
| CIE-LAB | lab(11.69, 22.46, -23.16) |
| CIE-LCH | lch(11.69, 32.26, 314.13°) |
| OKLab | oklab(24.84% 0.0504 -0.0654) |
| OKLCH | oklch(24.84% 0.083 307.6) |
| XYZ | xyz(2.1686, 1.3601, 4.8500) |
| Luminance | 0.0136 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Purple
#35063E
ΔE00 4.36
Midnight Purple
#280137
ΔE00 4.44
Very Dark Purple
#2A0134
ΔE00 4.65
Dark Violet
#34013F
ΔE00 5.14
Deep Purple
#36013F
ΔE00 5.35
Eggplant
#380835
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C133F #263F13
analogous
#16133F #2C133F #3F133C
triadic
#2C133F #3F2C13 #133F2C
tetradic
#2C133F #3F1613 #263F13 #133C3F
square
#2C133F #3F1613 #263F13 #133C3F
split-complementary
#2C133F #3C3F13 #133F16
monochromatic
#100718 #100718 #2C133F #4D216E #6E2F9D
Accessibility & contrast
On white
16.51
#2C133F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.27
#2C133F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C133F
16.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C133F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C133F | 1.00 | 16.51 | 1.27 | 16.51 |
| #FFFFFF | 16.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#021E40
Deuteranopia (green-blind)
#0C1F3E
Tritanopia (blue-blind)
#291C26
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #2c133f; /* rgb */ color: rgb(44, 19, 63); /* oklch */ color: oklch(24.8% 0.083 307.6);
Tailwind
colors: {
custom: {
50: '#675274',
500: '#2c133f',
950: '#000000',
},
}SCSS
$custom: #2c133f; $custom-light: #675274; $custom-dark: #000000;
JSON
{
"hex": "#2c133f",
"rgb": {
"r": 44,
"g": 19,
"b": 63
},
"hsl": {
"h": 274.091,
"s": 53.659,
"l": 16.078
},
"oklch": {
"l": 0.24836,
"c": 0.08254,
"h": 307.6
},
"luminance": 0.0136
}Semantic roles & 50–950 ramp
primary
#2C133F
secondary
#527836
accent
#DD4B8A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B