#2C109F#2C109F
#2C109F is a dark, highly saturated violet. Relative luminance 0.034; OKLCH L 34.8% C 0.202 H 276.7°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2C109F |
|---|---|
| RGB | rgb(44, 16, 159) |
| HSL | hsl(252, 82%, 34%) |
| HSV | hsv(252, 90%, 62%) |
| CMYK | cmyk(72.3%, 89.9%, 0%, 37.6%) |
| CIE-LAB | lab(21.61, 52.15, -69.57) |
| CIE-LCH | lch(21.61, 86.95, 306.85°) |
| OKLab | oklab(34.82% 0.0234 -0.2009) |
| OKLCH | oklch(34.82% 0.202 276.7) |
| XYZ | xyz(7.4800, 3.4086, 33.0579) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.32
Royal Blue (survey)
#0504AA
ΔE00 2.52
Ultramarine
#2000B1
ΔE00 2.55
Royal
#0C1793
ΔE00 3.21
Indigo Blue
#3A18B1
ΔE00 3.26
Darkblue
#00008B
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C109F #839F10
analogous
#103C9F #2C109F #74109F
triadic
#2C109F #9F2C10 #109F2C
tetradic
#2C109F #9F103C #839F10 #109F74
square
#2C109F #9F103C #839F10 #109F74
split-complementary
#2C109F #9F7410 #3C9F10
monochromatic
#0D0530 #1D0A67 #2C109F #3B16D7 #603EEC
Accessibility & contrast
On white
12.49
#2C109F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2C109F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C109F
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C109F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C109F | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c109f; /* rgb */ color: rgb(44, 16, 159); /* oklch */ color: oklch(34.8% 0.202 276.7);
Tailwind
colors: {
custom: {
50: '#7957bd',
500: '#2c109f',
950: '#000000',
},
}SCSS
$custom: #2c109f; $custom-light: #7957bd; $custom-dark: #000000;
JSON
{
"hex": "#2c109f",
"rgb": {
"r": 44,
"g": 16,
"b": 159
},
"hsl": {
"h": 251.748,
"s": 81.714,
"l": 34.314
},
"oklch": {
"l": 0.34821,
"c": 0.20228,
"h": 276.7
},
"luminance": 0.03409
}Semantic roles & 50–950 ramp
primary
#2C109F
secondary
#B0CB40
accent
#F830D1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981