#4E2076#4E2076

#4E2076 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.140 H 304.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#4E2076
RGBrgb(78, 32, 118)
HSLhsl(272, 57%, 29%)
HSVhsv(272, 73%, 46%)
CMYKcmyk(33.9%, 72.9%, 0%, 53.7%)
CIE-LABlab(23.54, 38.42, -40.64)
CIE-LCHlch(23.54, 55.93, 313.39°)
OKLaboklab(35.79% 0.0799 -0.1155)
OKLCHoklch(35.79% 0.14 304.7)
XYZxyz(6.9277, 3.9608, 17.5356)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2076 #487620
analogous
#232076 #4E2076 #762073
triadic
#4E2076 #764E20 #20764E
tetradic
#4E2076 #762320 #487620 #207376
square
#4E2076 #762320 #487620 #207376
split-complementary
#4E2076 #737620 #207623
monochromatic
#100718 #2E1346 #4E2076 #6E2DA6 #8D44CC

Accessibility & contrast

On white

11.72
#4E2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2076
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2076#FFFFFF#000000##FFFFFF
##4E20761.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#473448
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2076;
/* rgb */ color: rgb(78, 32, 118);
/* oklch */ color: oklch(35.8% 0.140 304.7);
Tailwind
colors: {
  custom: {
    50: '#83609e',
    500: '#4e2076',
    950: '#000000',
  },
}
SCSS
$custom: #4e2076;
$custom-light: #83609e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2076",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 272.093,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35788,
    "c": 0.14043,
    "h": 304.7
  },
  "luminance": 0.03961
}

Semantic roles & 50–950 ramp

primary
#4E2076
secondary
#76A948
accent
#E1478F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2076

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

Preview Lab → · Contrast checker → · Palette generator →

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