#2E1763#2E1763
#2E1763 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.125 H 290.2°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1763 |
|---|---|
| RGB | rgb(46, 23, 99) |
| HSL | hsl(258, 62%, 24%) |
| HSV | hsv(258, 77%, 39%) |
| CMYK | cmyk(53.5%, 76.8%, 0%, 61.2%) |
| CIE-LAB | lab(15.97, 31.40, -40.79) |
| CIE-LCH | lch(15.97, 51.48, 307.59°) |
| OKLab | oklab(28.96% 0.0431 -0.1171) |
| OKLCH | oklch(28.96% 0.125 290.2) |
| XYZ | xyz(3.6846, 2.0943, 12.0121) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.86
Midnight Blue
#191970
ΔE00 4.30
Darkblue (survey)
#030764
ΔE00 5.74
Dark Royal Blue
#02066F
ΔE00 6.21
Dark Blue
#00035B
ΔE00 6.38
Indigo (survey)
#380282
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1763 #4C6317
analogous
#172663 #2E1763 #541763
triadic
#2E1763 #632E17 #17632E
tetradic
#2E1763 #631726 #4C6317 #176354
square
#2E1763 #631726 #4C6317 #176354
split-complementary
#2E1763 #635417 #266317
monochromatic
#0C0619 #170B31 #2E1763 #452395 #5C2EC6
Accessibility & contrast
On white
14.80
#2E1763 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#2E1763 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1763
14.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1763 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1763 | 1.00 | 14.80 | 1.42 | 14.80 |
| #FFFFFF | 14.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#1C2B3B
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2e1763; /* rgb */ color: rgb(46, 23, 99); /* oklch */ color: oklch(29.0% 0.125 290.2);
Tailwind
colors: {
custom: {
50: '#6d5690',
500: '#2e1763',
950: '#000000',
},
}SCSS
$custom: #2e1763; $custom-light: #6d5690; $custom-dark: #000000;
JSON
{
"hex": "#2e1763",
"rgb": {
"r": 46,
"g": 23,
"b": 99
},
"hsl": {
"h": 258.158,
"s": 62.295,
"l": 23.922
},
"oklch": {
"l": 0.28956,
"c": 0.12481,
"h": 290.2
},
"luminance": 0.02094
}Semantic roles & 50–950 ramp
primary
#2E1763
secondary
#7D9A3C
accent
#E542B4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030D
muted
#7A787D