#2E1963#2E1963
#2E1963 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.3% C 0.122 H 289.7°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2E1963 |
|---|---|
| RGB | rgb(46, 25, 99) |
| HSL | hsl(257, 60%, 24%) |
| HSV | hsv(257, 75%, 39%) |
| CMYK | cmyk(53.5%, 74.7%, 0%, 61.2%) |
| CIE-LAB | lab(16.39, 30.24, -40.11) |
| CIE-LCH | lch(16.39, 50.24, 307.01°) |
| OKLab | oklab(29.25% 0.0411 -0.1151) |
| OKLCH | oklch(29.25% 0.122 289.7) |
| XYZ | xyz(3.7258, 2.1768, 12.0258) |
| Luminance | 0.0218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 4.18
Midnight Blue
#191970
ΔE00 4.26
Darkblue (survey)
#030764
ΔE00 6.02
Dark Royal Blue
#02066F
ΔE00 6.51
Dark Blue
#00035B
ΔE00 6.69
Indigo (survey)
#380282
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E1963 #4E6319
analogous
#192963 #2E1963 #531963
triadic
#2E1963 #632E19 #19632E
tetradic
#2E1963 #631929 #4E6319 #196353
square
#2E1963 #631929 #4E6319 #196353
split-complementary
#2E1963 #635319 #296319
monochromatic
#0B0618 #170D32 #2E1963 #452594 #5B32C5
Accessibility & contrast
On white
14.63
#2E1963 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#2E1963 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E1963
14.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E1963 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E1963 | 1.00 | 14.63 | 1.44 | 14.63 |
| #FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#1B2C3C
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2e1963; /* rgb */ color: rgb(46, 25, 99); /* oklch */ color: oklch(29.3% 0.122 289.7);
Tailwind
colors: {
custom: {
50: '#6d5890',
500: '#2e1963',
950: '#000000',
},
}SCSS
$custom: #2e1963; $custom-light: #6d5890; $custom-dark: #000000;
JSON
{
"hex": "#2e1963",
"rgb": {
"r": 46,
"g": 25,
"b": 99
},
"hsl": {
"h": 257.027,
"s": 59.677,
"l": 24.314
},
"oklch": {
"l": 0.2925,
"c": 0.12226,
"h": 289.7
},
"luminance": 0.02177
}Semantic roles & 50–950 ramp
primary
#2E1963
secondary
#7F993F
accent
#E345B6
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030D
muted
#7A787D