#2C0B4E#2C0B4E
#2C0B4E is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.113 H 300.5°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2C0B4E |
|---|---|
| RGB | rgb(44, 11, 78) |
| HSL | hsl(270, 75%, 17%) |
| HSV | hsv(270, 86%, 31%) |
| CMYK | cmyk(43.6%, 85.9%, 0%, 69.4%) |
| CIE-LAB | lab(11.45, 31.04, -34.03) |
| CIE-LCH | lch(11.45, 46.06, 312.37°) |
| OKLab | oklab(25.08% 0.0573 -0.0973) |
| OKLCH | oklch(25.08% 0.113 300.5) |
| XYZ | xyz(2.5332, 1.3249, 7.3285) |
| Luminance | 0.0132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.30
Dark Violet
#34013F
ΔE00 5.04
Midnight Purple
#280137
ΔE00 5.11
Deep Purple
#36013F
ΔE00 5.45
Dark Purple
#35063E
ΔE00 5.46
Very Dark Purple
#2A0134
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C0B4E #2D4E0B
analogous
#0B0C4E #2C0B4E #4D0B4E
triadic
#2C0B4E #4E2C0B #0B4E2C
tetradic
#2C0B4E #4E0B0C #2D4E0B #0B4E4D
square
#2C0B4E #4E0B0C #2D4E0B #0B4E4D
split-complementary
#2C0B4E #4E4D0B #0C4E0B
monochromatic
#0F041B #0F041B #2C0B4E #4A1384 #691AB9
Accessibility & contrast
On white
16.60
#2C0B4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.26
#2C0B4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C0B4E
16.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C0B4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C0B4E | 1.00 | 16.60 | 1.26 | 16.60 |
| #FFFFFF | 16.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#241D2C
Achromatopsia (no color)
#1E1E1E
Design tokens & code
CSS
--color: #2c0b4e; /* rgb */ color: rgb(44, 11, 78); /* oklch */ color: oklch(25.1% 0.113 300.5);
Tailwind
colors: {
custom: {
50: '#694e80',
500: '#2c0b4e',
950: '#000000',
},
}SCSS
$custom: #2c0b4e; $custom-light: #694e80; $custom-dark: #000000;
JSON
{
"hex": "#2c0b4e",
"rgb": {
"r": 44,
"g": 11,
"b": 78
},
"hsl": {
"h": 269.552,
"s": 75.281,
"l": 17.451
},
"oklch": {
"l": 0.25076,
"c": 0.1129,
"h": 300.5
},
"luminance": 0.01325
}Semantic roles & 50–950 ramp
primary
#2C0B4E
secondary
#5B8A2B
accent
#F23695
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C