#2A2230#2A2230
#2A2230 is a dark, muted violet. Relative luminance 0.018; OKLCH L 26.7% C 0.028 H 310.4°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2230 |
|---|---|
| RGB | rgb(42, 34, 48) |
| HSL | hsl(274, 17%, 16%) |
| HSV | hsv(274, 29%, 19%) |
| CMYK | cmyk(12.5%, 29.2%, 0%, 81.2%) |
| CIE-LAB | lab(14.68, 7.18, -7.81) |
| CIE-LCH | lch(14.68, 10.61, 312.60°) |
| OKLab | oklab(26.73% 0.0181 -0.0212) |
| OKLCH | oklch(26.73% 0.028 310.4) |
| XYZ | xyz(2.0603, 1.8497, 3.0442) |
| Luminance | 0.0185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark
#1B2431
ΔE00 9.57
Navy Blue
#1B2A4A
ΔE00 10.84
Dark Grey
#363737
ΔE00 12.13
Very Dark Brown
#1D0200
ΔE00 12.20
Onyx
#353839
ΔE00 12.73
Navy (survey)
#01153E
ΔE00 13.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2230 #283022
analogous
#232230 #2A2230 #30222F
triadic
#2A2230 #302A22 #22302A
tetradic
#2A2230 #302322 #283022 #222F30
square
#2A2230 #302322 #283022 #222F30
split-complementary
#2A2230 #2F3022 #223023
monochromatic
#100D12 #100D12 #2A2230 #493B54 #695578
Accessibility & contrast
On white
15.33
#2A2230 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#2A2230 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2230
15.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2230 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2230 | 1.00 | 15.33 | 1.37 | 15.33 |
| #FFFFFF | 15.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202531
Deuteranopia (green-blind)
#212530
Tritanopia (blue-blind)
#292427
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #2a2230; /* rgb */ color: rgb(42, 34, 48); /* oklch */ color: oklch(26.7% 0.028 310.4);
Tailwind
colors: {
custom: {
50: '#635d68',
500: '#2a2230',
950: '#000000',
},
}SCSS
$custom: #2a2230; $custom-light: #635d68; $custom-dark: #000000;
JSON
{
"hex": "#2a2230",
"rgb": {
"r": 42,
"g": 34,
"b": 48
},
"hsl": {
"h": 274.286,
"s": 17.073,
"l": 16.078
},
"oklch": {
"l": 0.26725,
"c": 0.02789,
"h": 310.4
},
"luminance": 0.0185
}Semantic roles & 50–950 ramp
primary
#2A2230
secondary
#55614D
accent
#BA6E8E
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A