#2C146F#2C146F
#2C146F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.143 H 285.7°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2C146F |
|---|---|
| RGB | rgb(44, 20, 111) |
| HSL | hsl(256, 69%, 26%) |
| HSV | hsv(256, 82%, 44%) |
| CMYK | cmyk(60.4%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(16.42, 36.42, -47.94) |
| CIE-LCH | lch(16.42, 60.21, 307.23°) |
| OKLab | oklab(29.59% 0.0389 -0.1381) |
| OKLCH | oklch(29.59% 0.143 285.7) |
| XYZ | xyz(4.1572, 2.1832, 15.2382) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.15
Indigo (survey)
#380282
ΔE00 4.30
Dark Royal Blue
#02066F
ΔE00 4.53
Darkblue (survey)
#030764
ΔE00 4.77
Deep Blue
#040273
ΔE00 4.82
Dark Indigo
#1F0954
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C146F #576F14
analogous
#14296F #2C146F #59146F
triadic
#2C146F #6F2C14 #146F2C
tetradic
#2C146F #6F1429 #576F14 #146F59
square
#2C146F #6F1429 #576F14 #146F59
split-complementary
#2C146F #6F5914 #296F14
monochromatic
#0A051A #170B3B #2C146F #411DA3 #5527D7
Accessibility & contrast
On white
14.62
#2C146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#2C146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C146F
14.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C146F | 1.00 | 14.62 | 1.44 | 14.62 |
| #FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#092F41
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2c146f; /* rgb */ color: rgb(44, 20, 111); /* oklch */ color: oklch(29.6% 0.143 285.7);
Tailwind
colors: {
custom: {
50: '#6e5599',
500: '#2c146f',
950: '#000000',
},
}SCSS
$custom: #2c146f; $custom-light: #6e5599; $custom-dark: #000000;
JSON
{
"hex": "#2c146f",
"rgb": {
"r": 44,
"g": 20,
"b": 111
},
"hsl": {
"h": 255.824,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.29592,
"c": 0.14346,
"h": 285.7
},
"luminance": 0.02183
}Semantic roles & 50–950 ramp
primary
#2C146F
secondary
#89A639
accent
#EC3CBE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E