#4E2377#4E2377

#4E2377 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.137 H 303.7°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#4E2377
RGBrgb(78, 35, 119)
HSLhsl(271, 55%, 30%)
HSVhsv(271, 71%, 47%)
CMYKcmyk(34.5%, 70.6%, 0%, 53.3%)
CIE-LABlab(24.17, 37.14, -40.25)
CIE-LCHlch(24.17, 54.77, 312.69°)
OKLaboklab(36.26% 0.0763 -0.1144)
OKLCHoklch(36.26% 0.137 303.7)
XYZxyz(7.0719, 4.1537, 17.8784)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2377 #4C7723
analogous
#242377 #4E2377 #772376
triadic
#4E2377 #774E23 #23774E
tetradic
#4E2377 #772423 #4C7723 #237677
square
#4E2377 #772423 #4C7723 #237677
split-complementary
#4E2377 #767723 #237724
monochromatic
#100718 #2F1548 #4E2377 #6D31A6 #8C4ACA

Accessibility & contrast

On white

11.47
#4E2377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E2377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2377
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2377#FFFFFF#000000##FFFFFF
##4E23771.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#013975
Tritanopia (blue-blind)
#46364A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2377;
/* rgb */ color: rgb(78, 35, 119);
/* oklch */ color: oklch(36.3% 0.137 303.7);
Tailwind
colors: {
  custom: {
    50: '#83619f',
    500: '#4e2377',
    950: '#000000',
  },
}
SCSS
$custom: #4e2377;
$custom-light: #83619f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2377",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 270.714,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36264,
    "c": 0.13748,
    "h": 303.7
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#4E2377
secondary
#7AAA4C
accent
#DE4A92
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2377

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

Preview Lab → · Contrast checker → · Palette generator →

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