#4E2A74#4E2A74

#4E2A74 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.123 H 303.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#4E2A74
RGBrgb(78, 42, 116)
HSLhsl(269, 47%, 31%)
HSVhsv(269, 64%, 45%)
CMYKcmyk(32.8%, 63.8%, 0%, 54.5%)
CIE-LABlab(25.37, 32.46, -36.41)
CIE-LCHlch(25.37, 48.78, 311.72°)
OKLaboklab(37.06% 0.0677 -0.1031)
OKLCHoklch(37.06% 0.123 303.3)
XYZxyz(7.1215, 4.5366, 17.0201)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A74 #50742A
analogous
#2A2B74 #4E2A74 #732A74
triadic
#4E2A74 #744E2A #2A744E
tetradic
#4E2A74 #742A2B #50742A #2A7473
square
#4E2A74 #742A2B #50742A #2A7473
split-complementary
#4E2A74 #74732A #2B742A
monochromatic
#12091A #301A47 #4E2A74 #6C3AA1 #8B56C2

Accessibility & contrast

On white

11.01
#4E2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E2A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A74
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A74#FFFFFF#000000##FFFFFF
##4E2A741.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013B76
Deuteranopia (green-blind)
#163C72
Tritanopia (blue-blind)
#47394B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2a74;
/* rgb */ color: rgb(78, 42, 116);
/* oklch */ color: oklch(37.1% 0.123 303.3);
Tailwind
colors: {
  custom: {
    50: '#83659c',
    500: '#4e2a74',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a74;
$custom-light: #83659c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a74",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 269.189,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37058,
    "c": 0.12336,
    "h": 303.3
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

primary
#4E2A74
secondary
#7EA654
accent
#D65196
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2A74

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

Preview Lab → · Contrast checker → · Palette generator →

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