#4E2CA0#4E2CA0

#4E2CA0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.175 H 289.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#4E2CA0
RGBrgb(78, 44, 160)
HSLhsl(258, 57%, 40%)
HSVhsv(258, 73%, 63%)
CMYKcmyk(51.2%, 72.5%, 0%, 37.3%)
CIE-LABlab(29.31, 43.75, -57.37)
CIE-LCHlch(29.31, 72.15, 307.33°)
OKLaboklab(40.99% 0.0594 -0.1647)
OKLCHoklch(40.99% 0.175 289.8)
XYZxyz(10.3859, 5.9587, 33.8538)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2CA0 #7EA02C
analogous
#2C44A0 #4E2CA0 #882CA0
triadic
#4E2CA0 #A04E2C #2CA04E
tetradic
#4E2CA0 #A02C44 #7EA02C #2CA088
square
#4E2CA0 #A02C44 #7EA02C #2CA088
split-complementary
#4E2CA0 #A0882C #44A02C
monochromatic
#1F1240 #371F70 #4E2CA0 #683FCA #8E6FD7

Accessibility & contrast

On white

9.58
#4E2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4E2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2CA0
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2CA0#FFFFFF#000000##FFFFFF
##4E2CA01.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#314A63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e2ca0;
/* rgb */ color: rgb(78, 44, 160);
/* oklch */ color: oklch(41.0% 0.175 289.8);
Tailwind
colors: {
  custom: {
    50: '#8868bd',
    500: '#4e2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ca0;
$custom-light: #8868bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ca0",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 257.586,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.40991,
    "c": 0.17511,
    "h": 289.8
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#4E2CA0
secondary
#A6BF69
accent
#E048B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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