#2C0E57#2C0E57
#2C0E57 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.120 H 295.4°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C0E57 |
|---|---|
| RGB | rgb(44, 14, 87) |
| HSL | hsl(265, 72%, 20%) |
| HSV | hsv(265, 84%, 34%) |
| CMYK | cmyk(49.4%, 83.9%, 0%, 65.9%) |
| CIE-LAB | lab(12.85, 32.19, -37.90) |
| CIE-LCH | lch(12.85, 49.72, 310.34°) |
| OKLab | oklab(26.33% 0.0517 -0.1086) |
| OKLCH | oklch(26.33% 0.12 295.4) |
| XYZ | xyz(2.9156, 1.5376, 9.1581) |
| Luminance | 0.0154 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.37
Dark Blue
#00035B
ΔE00 5.97
Darkblue (survey)
#030764
ΔE00 6.01
Night Blue
#040348
ΔE00 6.09
Midnight Blue
#191970
ΔE00 6.37
Royal Purple (survey)
#4B006E
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C0E57 #39570E
analogous
#0E1457 #2C0E57 #510E57
triadic
#2C0E57 #572C0E #0E572C
tetradic
#2C0E57 #570E14 #39570E #0E5751
square
#2C0E57 #570E14 #39570E #0E5751
split-complementary
#2C0E57 #57510E #14570E
monochromatic
#0D041A #110622 #2C0E57 #47168C #611FC0
Accessibility & contrast
On white
16.06
#2C0E57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#2C0E57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C0E57
16.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C0E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C0E57 | 1.00 | 16.06 | 1.31 | 16.06 |
| #FFFFFF | 16.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002259
Deuteranopia (green-blind)
#002056
Tritanopia (blue-blind)
#202232
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #2c0e57; /* rgb */ color: rgb(44, 14, 87); /* oklch */ color: oklch(26.3% 0.120 295.4);
Tailwind
colors: {
custom: {
50: '#6b5087',
500: '#2c0e57',
950: '#000000',
},
}SCSS
$custom: #2c0e57; $custom-light: #6b5087; $custom-dark: #000000;
JSON
{
"hex": "#2c0e57",
"rgb": {
"r": 44,
"g": 14,
"b": 87
},
"hsl": {
"h": 264.658,
"s": 72.277,
"l": 19.804
},
"oklch": {
"l": 0.26329,
"c": 0.12028,
"h": 295.4
},
"luminance": 0.01538
}Semantic roles & 50–950 ramp
primary
#2C0E57
secondary
#699130
accent
#EF39A4
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C