#4E347F#4E347F
#4E347F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.5% C 0.122 H 296.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4E347F |
|---|---|
| RGB | rgb(78, 52, 127) |
| HSL | hsl(261, 42%, 35%) |
| HSV | hsv(261, 59%, 50%) |
| CMYK | cmyk(38.6%, 59.1%, 0%, 50.2%) |
| CIE-LAB | lab(28.40, 29.55, -38.49) |
| CIE-LCH | lch(28.40, 48.53, 307.51°) |
| OKLab | oklab(39.52% 0.0542 -0.1093) |
| OKLCH | oklch(39.52% 0.122 296.4) |
| XYZ | xyz(8.1997, 5.6079, 20.7250) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.05
Rebeccapurple
#663399
ΔE00 5.98
Blueberry
#464196
ΔE00 6.24
Indigo
#4B0082
ΔE00 9.47
Ocean Blue
#4F42B5
ΔE00 9.56
Twilight
#4E518B
ΔE00 9.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E347F #657F34
analogous
#34407F #4E347F #73347F
triadic
#4E347F #7F4E34 #347F4E
tetradic
#4E347F #7F3440 #657F34 #347F73
square
#4E347F #7F3440 #657F34 #347F73
split-complementary
#4E347F #7F7334 #407F34
monochromatic
#191028 #332254 #4E347F #6946AA #896BC2
Accessibility & contrast
On white
9.90
#4E347F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4E347F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E347F
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E347F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E347F | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E4381
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#424454
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e347f; /* rgb */ color: rgb(78, 52, 127); /* oklch */ color: oklch(39.5% 0.122 296.4);
Tailwind
colors: {
custom: {
50: '#836ca5',
500: '#4e347f',
950: '#000000',
},
}SCSS
$custom: #4e347f; $custom-light: #836ca5; $custom-dark: #000000;
JSON
{
"hex": "#4e347f",
"rgb": {
"r": 78,
"g": 52,
"b": 127
},
"hsl": {
"h": 260.8,
"s": 41.899,
"l": 35.098
},
"oklch": {
"l": 0.3952,
"c": 0.12196,
"h": 296.4
},
"luminance": 0.05608
}Semantic roles & 50–950 ramp
primary
#4E347F
secondary
#92AA64
accent
#D256A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F