#3E267E#3E267E
#3E267E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.140 H 289.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3E267E |
|---|---|
| RGB | rgb(62, 38, 126) |
| HSL | hsl(256, 54%, 32%) |
| HSV | hsv(256, 70%, 49%) |
| CMYK | cmyk(50.8%, 69.8%, 0%, 50.6%) |
| CIE-LAB | lab(23.39, 34.09, -46.06) |
| CIE-LCH | lch(23.39, 57.30, 306.51°) |
| OKLab | oklab(35.44% 0.0476 -0.132) |
| OKLCH | oklch(35.44% 0.14 289.8) |
| XYZ | xyz(6.4445, 3.9165, 20.1510) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.91
Indigo (survey)
#380282
ΔE00 6.31
Darkslateblue
#483D8B
ΔE00 6.48
Indigo
#4B0082
ΔE00 6.52
Royal
#0C1793
ΔE00 6.96
Royal Purple (survey)
#4B006E
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E267E #667E26
analogous
#263A7E #3E267E #6A267E
triadic
#3E267E #7E3E26 #267E3E
tetradic
#3E267E #7E263A #667E26 #267E6A
square
#3E267E #7E263A #667E26 #267E6A
split-complementary
#3E267E #7E6A26 #3A7E26
monochromatic
#100A20 #27184F #3E267E #5534AD #7453CB
Accessibility & contrast
On white
11.78
#3E267E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3E267E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E267E
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E267E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E267E | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#293C4E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3e267e; /* rgb */ color: rgb(62, 38, 126); /* oklch */ color: oklch(35.4% 0.140 289.8);
Tailwind
colors: {
custom: {
50: '#7a62a4',
500: '#3e267e',
950: '#000000',
},
}SCSS
$custom: #3e267e; $custom-light: #7a62a4; $custom-dark: #000000;
JSON
{
"hex": "#3e267e",
"rgb": {
"r": 62,
"g": 38,
"b": 126
},
"hsl": {
"h": 256.364,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.3544,
"c": 0.14037,
"h": 289.8
},
"luminance": 0.03917
}Semantic roles & 50–950 ramp
primary
#3E267E
secondary
#96B050
accent
#DD4BB5
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F