#3E246E#3E246E
#3E246E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.122 H 295.2°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3E246E |
|---|---|
| RGB | rgb(62, 36, 110) |
| HSL | hsl(261, 51%, 29%) |
| HSV | hsv(261, 67%, 43%) |
| CMYK | cmyk(43.6%, 67.3%, 0%, 56.9%) |
| CIE-LAB | lab(21.62, 30.42, -38.71) |
| CIE-LCH | lch(21.62, 49.23, 308.17°) |
| OKLab | oklab(33.75% 0.052 -0.1104) |
| OKLCH | oklch(33.75% 0.122 295.2) |
| XYZ | xyz(5.4312, 3.4116, 15.1212) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 6.39
Royal Purple (survey)
#4B006E
ΔE00 6.86
Indigo
#4B0082
ΔE00 7.22
Indigo (survey)
#380282
ΔE00 7.38
Dark Indigo
#1F0954
ΔE00 7.74
Darkslateblue
#483D8B
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E246E #546E24
analogous
#242F6E #3E246E #63246E
triadic
#3E246E #6E3E24 #246E3E
tetradic
#3E246E #6E242F #546E24 #246E63
square
#3E246E #6E242F #546E24 #246E63
split-complementary
#3E246E #6E6324 #2F6E24
monochromatic
#0D0817 #241540 #3E246E #58339C #7449C3
Accessibility & contrast
On white
12.48
#3E246E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#3E246E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E246E
12.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E246E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E246E | 1.00 | 12.48 | 1.68 | 12.48 |
| #FFFFFF | 12.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#313545
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #3e246e; /* rgb */ color: rgb(62, 36, 110); /* oklch */ color: oklch(33.7% 0.122 295.2);
Tailwind
colors: {
custom: {
50: '#786098',
500: '#3e246e',
950: '#000000',
},
}SCSS
$custom: #3e246e; $custom-light: #786098; $custom-dark: #000000;
JSON
{
"hex": "#3e246e",
"rgb": {
"r": 62,
"g": 36,
"b": 110
},
"hsl": {
"h": 261.081,
"s": 50.685,
"l": 28.627
},
"oklch": {
"l": 0.33745,
"c": 0.12207,
"h": 295.2
},
"luminance": 0.03412
}Semantic roles & 50–950 ramp
primary
#3E246E
secondary
#83A14D
accent
#DA4EA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E