#2C139F#2C139F
#2C139F is a dark, highly saturated violet. Relative luminance 0.035; OKLCH L 35.1% C 0.201 H 276.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2C139F |
|---|---|
| RGB | rgb(44, 19, 159) |
| HSL | hsl(251, 79%, 35%) |
| HSV | hsv(251, 88%, 62%) |
| CMYK | cmyk(72.3%, 88.1%, 0%, 37.6%) |
| CIE-LAB | lab(21.96, 51.11, -69.00) |
| CIE-LCH | lch(21.96, 85.87, 306.53°) |
| OKLab | oklab(35.06% 0.0227 -0.1993) |
| OKLCH | oklch(35.06% 0.201 276.5) |
| XYZ | xyz(7.5275, 3.5037, 33.0737) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.44
Royal Blue (survey)
#0504AA
ΔE00 2.71
Ultramarine
#2000B1
ΔE00 2.74
Royal
#0C1793
ΔE00 3.09
Indigo Blue
#3A18B1
ΔE00 3.11
Darkblue
#00008B
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C139F #869F13
analogous
#13409F #2C139F #72139F
triadic
#2C139F #9F2C13 #139F2C
tetradic
#2C139F #9F1340 #869F13 #139F72
square
#2C139F #9F1340 #869F13 #139F72
split-complementary
#2C139F #9F7213 #409F13
monochromatic
#0E0632 #1D0C68 #2C139F #3B1AD6 #6144E9
Accessibility & contrast
On white
12.35
#2C139F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2C139F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C139F
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C139F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C139F | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2c139f; /* rgb */ color: rgb(44, 19, 159); /* oklch */ color: oklch(35.1% 0.201 276.5);
Tailwind
colors: {
custom: {
50: '#7959bd',
500: '#2c139f',
950: '#000000',
},
}SCSS
$custom: #2c139f; $custom-light: #7959bd; $custom-dark: #000000;
JSON
{
"hex": "#2c139f",
"rgb": {
"r": 44,
"g": 19,
"b": 159
},
"hsl": {
"h": 250.714,
"s": 78.652,
"l": 34.902
},
"oklch": {
"l": 0.35056,
"c": 0.20059,
"h": 276.5
},
"luminance": 0.03504
}Semantic roles & 50–950 ramp
primary
#2C139F
secondary
#B1C945
accent
#F533D2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981