#4E2376#4E2376

#4E2376 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.136 H 304.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#4E2376
RGBrgb(78, 35, 118)
HSLhsl(271, 54%, 30%)
HSVhsv(271, 70%, 46%)
CMYKcmyk(33.9%, 70.3%, 0%, 53.7%)
CIE-LABlab(24.10, 36.88, -39.74)
CIE-LCHlch(24.10, 54.22, 312.86°)
OKLaboklab(36.18% 0.0764 -0.1129)
OKLCHoklch(36.18% 0.136 304.1)
XYZxyz(7.0122, 4.1298, 17.5637)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2376 #4B7623
analogous
#242376 #4E2376 #762375
triadic
#4E2376 #764E23 #23764E
tetradic
#4E2376 #762423 #4B7623 #237576
square
#4E2376 #762423 #4B7623 #237576
split-complementary
#4E2376 #757623 #237624
monochromatic
#100718 #2F1547 #4E2376 #6D31A5 #8C4AC9

Accessibility & contrast

On white

11.50
#4E2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2376
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2376#FFFFFF#000000##FFFFFF
##4E23761.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#043974
Tritanopia (blue-blind)
#463649
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2376;
/* rgb */ color: rgb(78, 35, 118);
/* oklch */ color: oklch(36.2% 0.136 304.1);
Tailwind
colors: {
  custom: {
    50: '#83619e',
    500: '#4e2376',
    950: '#000000',
  },
}
SCSS
$custom: #4e2376;
$custom-light: #83619e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2376",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 271.084,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.36184,
    "c": 0.1363,
    "h": 304.1
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#4E2376
secondary
#79A94C
accent
#DE4A91
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2376

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

Preview Lab → · Contrast checker → · Palette generator →

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