#2C0F56#2C0F56
#2C0F56 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.3% C 0.118 H 295.7°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2C0F56 |
|---|---|
| RGB | rgb(44, 15, 86) |
| HSL | hsl(265, 70%, 20%) |
| HSV | hsv(265, 83%, 34%) |
| CMYK | cmyk(48.8%, 82.6%, 0%, 66.3%) |
| CIE-LAB | lab(12.92, 31.40, -37.10) |
| CIE-LCH | lch(12.92, 48.61, 310.24°) |
| OKLab | oklab(26.35% 0.0511 -0.1063) |
| OKLCH | oklch(26.35% 0.118 295.7) |
| XYZ | xyz(2.8888, 1.5489, 8.9491) |
| Luminance | 0.0155 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.50
Night Blue
#040348
ΔE00 6.11
Dark Blue
#00035B
ΔE00 6.17
Darkblue (survey)
#030764
ΔE00 6.22
Midnight Blue
#191970
ΔE00 6.48
Dark Violet
#34013F
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C0F56 #39560F
analogous
#0F1656 #2C0F56 #500F56
triadic
#2C0F56 #562C0F #0F562C
tetradic
#2C0F56 #560F16 #39560F #0F5650
square
#2C0F56 #560F16 #39560F #0F5650
split-complementary
#2C0F56 #56500F #16560F
monochromatic
#0D051A #110622 #2C0F56 #47188A #6121BE
Accessibility & contrast
On white
16.03
#2C0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#2C0F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C0F56
16.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C0F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C0F56 | 1.00 | 16.03 | 1.31 | 16.03 |
| #FFFFFF | 16.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#202232
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #2c0f56; /* rgb */ color: rgb(44, 15, 86); /* oklch */ color: oklch(26.3% 0.118 295.7);
Tailwind
colors: {
custom: {
50: '#6a5186',
500: '#2c0f56',
950: '#000000',
},
}SCSS
$custom: #2c0f56; $custom-light: #6a5186; $custom-dark: #000000;
JSON
{
"hex": "#2c0f56",
"rgb": {
"r": 44,
"g": 15,
"b": 86
},
"hsl": {
"h": 264.507,
"s": 70.297,
"l": 19.804
},
"oklch": {
"l": 0.26348,
"c": 0.11793,
"h": 295.7
},
"luminance": 0.01549
}Semantic roles & 50–950 ramp
primary
#2C0F56
secondary
#699031
accent
#ED3BA4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C