#2A133F#2A133F
#2A133F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.082 H 305.2°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A133F |
|---|---|
| RGB | rgb(42, 19, 63) |
| HSL | hsl(271, 54%, 16%) |
| HSV | hsv(271, 70%, 25%) |
| CMYK | cmyk(33.3%, 69.8%, 0%, 75.3%) |
| CIE-LAB | lab(11.39, 21.89, -23.65) |
| CIE-LCH | lch(11.39, 32.22, 312.79°) |
| OKLab | oklab(24.56% 0.0472 -0.0669) |
| OKLCH | oklch(24.56% 0.082 305.2) |
| XYZ | xyz(2.0847, 1.3169, 4.8460) |
| Luminance | 0.0132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 4.61
Dark Purple
#35063E
ΔE00 4.81
Very Dark Purple
#2A0134
ΔE00 4.93
Dark Violet
#34013F
ΔE00 5.50
Deep Purple
#36013F
ΔE00 5.75
Eggplant
#380835
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A133F #283F13
analogous
#14133F #2A133F #3F133E
triadic
#2A133F #3F2A13 #133F2A
tetradic
#2A133F #3F1413 #283F13 #133E3F
square
#2A133F #3F1413 #283F13 #133E3F
split-complementary
#2A133F #3E3F13 #133F14
monochromatic
#100718 #100718 #2A133F #49216E #692F9D
Accessibility & contrast
On white
16.62
#2A133F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.26
#2A133F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A133F
16.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A133F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A133F | 1.00 | 16.62 | 1.26 | 16.62 |
| #FFFFFF | 16.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#011E40
Deuteranopia (green-blind)
#091E3E
Tritanopia (blue-blind)
#261C26
Achromatopsia (no color)
#1E1E1E
Design tokens & code
CSS
--color: #2a133f; /* rgb */ color: rgb(42, 19, 63); /* oklch */ color: oklch(24.6% 0.082 305.2);
Tailwind
colors: {
custom: {
50: '#655274',
500: '#2a133f',
950: '#000000',
},
}SCSS
$custom: #2a133f; $custom-light: #655274; $custom-dark: #000000;
JSON
{
"hex": "#2a133f",
"rgb": {
"r": 42,
"g": 19,
"b": 63
},
"hsl": {
"h": 271.364,
"s": 53.659,
"l": 16.078
},
"oklch": {
"l": 0.24555,
"c": 0.08187,
"h": 305.2
},
"luminance": 0.01317
}Semantic roles & 50–950 ramp
primary
#2A133F
secondary
#557836
accent
#DD4B91
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B