#2C0F60#2C0F60
#2C0F60 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.130 H 291.5°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2C0F60 |
|---|---|
| RGB | rgb(44, 15, 96) |
| HSL | hsl(261, 73%, 22%) |
| HSV | hsv(261, 84%, 38%) |
| CMYK | cmyk(54.2%, 84.4%, 0%, 62.4%) |
| CIE-LAB | lab(13.95, 34.35, -42.13) |
| CIE-LCH | lch(13.95, 54.35, 309.19°) |
| OKLab | oklab(27.39% 0.0477 -0.121) |
| OKLCH | oklch(27.39% 0.13 291.5) |
| XYZ | xyz(3.3203, 1.7215, 11.2214) |
| Luminance | 0.0172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.71
Midnight Blue
#191970
ΔE00 4.95
Darkblue (survey)
#030764
ΔE00 4.95
Dark Blue
#00035B
ΔE00 5.34
Dark Royal Blue
#02066F
ΔE00 5.52
Deep Blue
#040273
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C0F60 #43600F
analogous
#0F1B60 #2C0F60 #550F60
triadic
#2C0F60 #602C0F #0F602C
tetradic
#2C0F60 #600F1B #43600F #0F6055
square
#2C0F60 #600F1B #43600F #0F6055
split-complementary
#2C0F60 #60550F #1B600F
monochromatic
#0C041A #14072B #2C0F60 #441795 #5D20CA
Accessibility & contrast
On white
15.62
#2C0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.34
#2C0F60 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C0F60
15.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C0F60 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C0F60 | 1.00 | 15.62 | 1.34 | 15.62 |
| #FFFFFF | 15.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#1A2638
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #2c0f60; /* rgb */ color: rgb(44, 15, 96); /* oklch */ color: oklch(27.4% 0.130 291.5);
Tailwind
colors: {
custom: {
50: '#6c528e',
500: '#2c0f60',
950: '#000000',
},
}SCSS
$custom: #2c0f60; $custom-light: #6c528e; $custom-dark: #000000;
JSON
{
"hex": "#2c0f60",
"rgb": {
"r": 44,
"g": 15,
"b": 96
},
"hsl": {
"h": 261.481,
"s": 72.973,
"l": 21.765
},
"oklch": {
"l": 0.27386,
"c": 0.13011,
"h": 291.5
},
"luminance": 0.01722
}Semantic roles & 50–950 ramp
primary
#2C0F60
secondary
#749932
accent
#F038AE
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D