#4E377D#4E377D

#4E377D is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.9% C 0.114 H 296.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4E377D
RGBrgb(78, 55, 125)
HSLhsl(260, 39%, 35%)
HSVhsv(260, 56%, 49%)
CMYKcmyk(37.6%, 56%, 0%, 51%)
CIE-LABlab(28.99, 27.11, -36.30)
CIE-LCHlch(28.99, 45.30, 306.75°)
OKLaboklab(39.91% 0.0501 -0.1028)
OKLCHoklch(39.91% 0.114 296)
XYZxyz(8.2088, 5.8326, 20.0914)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E377D #667D37
analogous
#37437D #4E377D #71377D
triadic
#4E377D #7D4E37 #377D4E
tetradic
#4E377D #7D3743 #667D37 #377D71
square
#4E377D #7D3743 #667D37 #377D71
split-complementary
#4E377D #7D7137 #437D37
monochromatic
#191228 #332452 #4E377D #694AA7 #896FC0

Accessibility & contrast

On white

9.69
#4E377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4E377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E377D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E377D#FFFFFF#000000##FFFFFF
##4E377D1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19457F
Deuteranopia (green-blind)
#20437B
Tritanopia (blue-blind)
#434554
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e377d;
/* rgb */ color: rgb(78, 55, 125);
/* oklch */ color: oklch(39.9% 0.114 296.0);
Tailwind
colors: {
  custom: {
    50: '#836ea3',
    500: '#4e377d',
    950: '#000000',
  },
}
SCSS
$custom: #4e377d;
$custom-light: #836ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e377d",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 259.714,
    "s": 38.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39908,
    "c": 0.11435,
    "h": 296
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#4E377D
secondary
#93A867
accent
#CF59A8
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E377D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4E377D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva