#2C149F#2C149F
#2C149F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 35.1% C 0.200 H 276.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2C149F |
|---|---|
| RGB | rgb(44, 20, 159) |
| HSL | hsl(250, 78%, 35%) |
| HSV | hsv(250, 87%, 62%) |
| CMYK | cmyk(72.3%, 87.4%, 0%, 37.6%) |
| CIE-LAB | lab(22.08, 50.74, -68.79) |
| CIE-LCH | lch(22.08, 85.48, 306.41°) |
| OKLab | oklab(35.14% 0.0224 -0.1987) |
| OKLCH | oklch(35.14% 0.2 276.4) |
| XYZ | xyz(7.5448, 3.5383, 33.0795) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.50
Royal Blue (survey)
#0504AA
ΔE00 2.79
Ultramarine
#2000B1
ΔE00 2.82
Indigo Blue
#3A18B1
ΔE00 3.06
Royal
#0C1793
ΔE00 3.06
Darkblue
#00008B
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C149F #879F14
analogous
#14419F #2C149F #72149F
triadic
#2C149F #9F2C14 #149F2C
tetradic
#2C149F #9F1441 #879F14 #149F72
square
#2C149F #9F1441 #879F14 #149F72
split-complementary
#2C149F #9F7214 #419F14
monochromatic
#0E0632 #1D0D69 #2C149F #3B1BD5 #6246E8
Accessibility & contrast
On white
12.30
#2C149F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2C149F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C149F
12.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C149F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C149F | 1.00 | 12.30 | 1.71 | 12.30 |
| #FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2c149f; /* rgb */ color: rgb(44, 20, 159); /* oklch */ color: oklch(35.1% 0.200 276.4);
Tailwind
colors: {
custom: {
50: '#7959bd',
500: '#2c149f',
950: '#000000',
},
}SCSS
$custom: #2c149f; $custom-light: #7959bd; $custom-dark: #000000;
JSON
{
"hex": "#2c149f",
"rgb": {
"r": 44,
"g": 20,
"b": 159
},
"hsl": {
"h": 250.36,
"s": 77.654,
"l": 35.098
},
"oklch": {
"l": 0.35141,
"c": 0.19998,
"h": 276.4
},
"luminance": 0.03539
}Semantic roles & 50–950 ramp
primary
#2C149F
secondary
#B2C846
accent
#F434D3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981