#3E268E#3E268E
#3E268E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.161 H 286.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3E268E |
|---|---|
| RGB | rgb(62, 38, 142) |
| HSL | hsl(254, 58%, 35%) |
| HSV | hsv(254, 73%, 56%) |
| CMYK | cmyk(56.3%, 73.2%, 0%, 44.3%) |
| CIE-LAB | lab(24.84, 39.02, -53.72) |
| CIE-LCH | lch(24.84, 66.39, 305.99°) |
| OKLab | oklab(36.92% 0.0446 -0.1545) |
| OKLCH | oklch(36.92% 0.161 286.1) |
| XYZ | xyz(7.5607, 4.3629, 26.0297) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.51
Royal
#0C1793
ΔE00 5.60
Indigo (survey)
#380282
ΔE00 6.12
Indigo
#4B0082
ΔE00 6.55
Darkslateblue
#483D8B
ΔE00 6.59
Midnight Blue
#191970
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E268E #768E26
analogous
#26428E #3E268E #72268E
triadic
#3E268E #8E3E26 #268E3E
tetradic
#3E268E #8E2642 #768E26 #268E72
square
#3E268E #8E2642 #768E26 #268E72
split-complementary
#3E268E #8E7226 #428E26
monochromatic
#140C2D #29195E #3E268E #5333BE #775BD3
Accessibility & contrast
On white
11.21
#3E268E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3E268E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E268E
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E268E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E268E | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#1A4257
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e268e; /* rgb */ color: rgb(62, 38, 142); /* oklch */ color: oklch(36.9% 0.161 286.1);
Tailwind
colors: {
custom: {
50: '#7c63b0',
500: '#3e268e',
950: '#000000',
},
}SCSS
$custom: #3e268e; $custom-light: #7c63b0; $custom-dark: #000000;
JSON
{
"hex": "#3e268e",
"rgb": {
"r": 62,
"g": 38,
"b": 142
},
"hsl": {
"h": 253.846,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.36917,
"c": 0.16083,
"h": 286.1
},
"luminance": 0.04363
}Semantic roles & 50–950 ramp
primary
#3E268E
secondary
#A2B858
accent
#E147BD
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0A0511
muted
#7C7A80