#2E109F#2E109F
#2E109F is a dark, highly saturated violet. Relative luminance 0.035; OKLCH L 35.0% C 0.202 H 277.5°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2E109F |
|---|---|
| RGB | rgb(46, 16, 159) |
| HSL | hsl(253, 82%, 34%) |
| HSV | hsv(253, 90%, 62%) |
| CMYK | cmyk(71.1%, 89.9%, 0%, 37.6%) |
| CIE-LAB | lab(21.78, 52.27, -69.29) |
| CIE-LCH | lch(21.78, 86.80, 307.03°) |
| OKLab | oklab(34.98% 0.0265 -0.2001) |
| OKLCH | oklch(34.98% 0.202 277.5) |
| XYZ | xyz(7.5680, 3.4539, 33.0620) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.49
Ultramarine
#2000B1
ΔE00 2.60
Royal Blue (survey)
#0504AA
ΔE00 2.66
Indigo Blue
#3A18B1
ΔE00 3.16
Royal
#0C1793
ΔE00 3.37
Indigo (survey)
#380282
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E109F #819F10
analogous
#103A9F #2E109F #75109F
triadic
#2E109F #9F2E10 #109F2E
tetradic
#2E109F #9F103A #819F10 #109F75
square
#2E109F #9F103A #819F10 #109F75
split-complementary
#2E109F #9F7510 #3A9F10
monochromatic
#0E0530 #1E0A67 #2E109F #3E16D7 #623EEC
Accessibility & contrast
On white
12.42
#2E109F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2E109F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E109F
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E109F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E109F | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 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: #2e109f; /* rgb */ color: rgb(46, 16, 159); /* oklch */ color: oklch(35.0% 0.202 277.5);
Tailwind
colors: {
custom: {
50: '#7a58bd',
500: '#2e109f',
950: '#000000',
},
}SCSS
$custom: #2e109f; $custom-light: #7a58bd; $custom-dark: #000000;
JSON
{
"hex": "#2e109f",
"rgb": {
"r": 46,
"g": 16,
"b": 159
},
"hsl": {
"h": 252.587,
"s": 81.714,
"l": 34.314
},
"oklch": {
"l": 0.34975,
"c": 0.20182,
"h": 277.5
},
"luminance": 0.03455
}Semantic roles & 50–950 ramp
primary
#2E109F
secondary
#AECB40
accent
#F830CE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981