#3E248C#3E248C
#3E248C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.161 H 286.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3E248C |
|---|---|
| RGB | rgb(62, 36, 140) |
| HSL | hsl(255, 59%, 35%) |
| HSV | hsv(255, 74%, 55%) |
| CMYK | cmyk(55.7%, 74.3%, 0%, 45.1%) |
| CIE-LAB | lab(24.25, 39.51, -53.43) |
| CIE-LCH | lch(24.25, 66.45, 306.48°) |
| OKLab | oklab(36.45% 0.0468 -0.1537) |
| OKLCH | oklch(36.45% 0.161 286.9) |
| XYZ | xyz(7.3497, 4.1789, 25.2252) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 5.48
Indigo (survey)
#380282
ΔE00 5.61
Indigo Blue
#3A18B1
ΔE00 5.62
Indigo
#4B0082
ΔE00 6.06
Midnight Blue
#191970
ΔE00 6.53
Cobalt Blue
#030AA7
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E248C #728C24
analogous
#243E8C #3E248C #72248C
triadic
#3E248C #8C3E24 #248C3E
tetradic
#3E248C #8C243E #728C24 #248C72
square
#3E248C #8C243E #728C24 #248C72
split-complementary
#3E248C #8C7224 #3E8C24
monochromatic
#130B2B #28175B #3E248C #5431BD #7657D4
Accessibility & contrast
On white
11.44
#3E248C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3E248C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E248C
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E248C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E248C | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#1D4056
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e248c; /* rgb */ color: rgb(62, 36, 140); /* oklch */ color: oklch(36.4% 0.161 286.9);
Tailwind
colors: {
custom: {
50: '#7c61af',
500: '#3e248c',
950: '#000000',
},
}SCSS
$custom: #3e248c; $custom-light: #7c61af; $custom-dark: #000000;
JSON
{
"hex": "#3e248c",
"rgb": {
"r": 62,
"g": 36,
"b": 140
},
"hsl": {
"h": 255,
"s": 59.091,
"l": 34.51
},
"oklch": {
"l": 0.36446,
"c": 0.16062,
"h": 286.9
},
"luminance": 0.04179
}Semantic roles & 50–950 ramp
primary
#3E248C
secondary
#9FB854
accent
#E246BB
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0A0510
muted
#7C797F