#3E268F#3E268F
#3E268F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.162 H 285.9°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #3E268F |
|---|---|
| RGB | rgb(62, 38, 143) |
| HSL | hsl(254, 58%, 35%) |
| HSV | hsv(254, 73%, 56%) |
| CMYK | cmyk(56.6%, 73.4%, 0%, 43.9%) |
| CIE-LAB | lab(24.93, 39.32, -54.19) |
| CIE-LCH | lch(24.93, 66.95, 305.97°) |
| OKLab | oklab(37.01% 0.0444 -0.1559) |
| OKLCH | oklch(37.01% 0.162 285.9) |
| XYZ | xyz(7.6362, 4.3931, 26.4269) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.37
Royal
#0C1793
ΔE00 5.55
Indigo (survey)
#380282
ΔE00 6.15
Indigo
#4B0082
ΔE00 6.59
Darkslateblue
#483D8B
ΔE00 6.62
Midnight Blue
#191970
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E268F #778F26
analogous
#26438F #3E268F #72268F
triadic
#3E268F #8F3E26 #268F3E
tetradic
#3E268F #8F2643 #778F26 #268F72
square
#3E268F #8F2643 #778F26 #268F72
split-complementary
#3E268F #8F7226 #438F26
monochromatic
#140C2E #29195F #3E268F #5333BF #775CD4
Accessibility & contrast
On white
11.18
#3E268F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3E268F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E268F
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E268F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E268F | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#194258
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e268f; /* rgb */ color: rgb(62, 38, 143); /* oklch */ color: oklch(37.0% 0.162 285.9);
Tailwind
colors: {
custom: {
50: '#7d63b1',
500: '#3e268f',
950: '#000000',
},
}SCSS
$custom: #3e268f; $custom-light: #7d63b1; $custom-dark: #000000;
JSON
{
"hex": "#3e268f",
"rgb": {
"r": 62,
"g": 38,
"b": 143
},
"hsl": {
"h": 253.714,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.37012,
"c": 0.16208,
"h": 285.9
},
"luminance": 0.04394
}Semantic roles & 50–950 ramp
primary
#3E268F
secondary
#A3B958
accent
#E147BE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80