#2A093C#2A093C
#2A093C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.094 H 310.5°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2A093C |
|---|---|
| RGB | rgb(42, 9, 60) |
| HSL | hsl(279, 74%, 14%) |
| HSV | hsv(279, 85%, 24%) |
| CMYK | cmyk(30%, 85%, 0%, 76.5%) |
| CIE-LAB | lab(9.11, 26.71, -25.20) |
| CIE-LCH | lch(9.11, 36.72, 316.68°) |
| OKLab | oklab(22.84% 0.061 -0.0714) |
| OKLCH | oklch(22.84% 0.094 310.5) |
| XYZ | xyz(1.8680, 1.0139, 4.3714) |
| Luminance | 0.0101 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 1.94
Very Dark Purple
#2A0134
ΔE00 2.51
Dark Purple
#35063E
ΔE00 2.87
Dark Violet
#34013F
ΔE00 3.16
Deep Purple
#36013F
ΔE00 3.52
Eggplant
#380835
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A093C #1B3C09
analogous
#10093C #2A093C #3C0934
triadic
#2A093C #3C2A09 #093C2A
tetradic
#2A093C #3C1009 #1B3C09 #09343C
square
#2A093C #3C1009 #1B3C09 #09343C
split-complementary
#2A093C #343C09 #093C10
monochromatic
#13041B #13041B #2A093C #4F1171 #7519A6
Accessibility & contrast
On white
17.46
#2A093C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.20
#2A093C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A093C
17.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A093C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A093C | 1.00 | 17.46 | 1.20 | 17.46 |
| #FFFFFF | 17.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#021A3B
Tritanopia (blue-blind)
#281522
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #2a093c; /* rgb */ color: rgb(42, 9, 60); /* oklch */ color: oklch(22.8% 0.094 310.5);
Tailwind
colors: {
custom: {
50: '#664c72',
500: '#2a093c',
950: '#000000',
},
}SCSS
$custom: #2a093c; $custom-light: #664c72; $custom-dark: #000000;
JSON
{
"hex": "#2a093c",
"rgb": {
"r": 42,
"g": 9,
"b": 60
},
"hsl": {
"h": 278.824,
"s": 73.913,
"l": 13.529
},
"oklch": {
"l": 0.22837,
"c": 0.09386,
"h": 310.5
},
"luminance": 0.01014
}Semantic roles & 50–950 ramp
primary
#2A093C
secondary
#447A27
accent
#F13779
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B