#4E2DA0#4E2DA0

#4E2DA0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.174 H 289.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4E2DA0
RGBrgb(78, 45, 160)
HSLhsl(257, 56%, 40%)
HSVhsv(257, 72%, 63%)
CMYKcmyk(51.2%, 71.9%, 0%, 37.3%)
CIE-LABlab(29.50, 43.22, -57.06)
CIE-LCHlch(29.50, 71.58, 307.14°)
OKLaboklab(41.13% 0.0585 -0.1638)
OKLCHoklch(41.13% 0.174 289.6)
XYZxyz(10.4236, 6.0341, 33.8664)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2DA0 #7FA02D
analogous
#2D46A0 #4E2DA0 #872DA0
triadic
#4E2DA0 #A04E2D #2DA04E
tetradic
#4E2DA0 #A02D46 #7FA02D #2DA087
square
#4E2DA0 #A02D46 #7FA02D #2DA087
split-complementary
#4E2DA0 #A0872D #46A02D
monochromatic
#1F1240 #372070 #4E2DA0 #6841C9 #8E70D7

Accessibility & contrast

On white

9.52
#4E2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E2DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2DA0
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2DA0#FFFFFF#000000##FFFFFF
##4E2DA01.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#314B63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e2da0;
/* rgb */ color: rgb(78, 45, 160);
/* oklch */ color: oklch(41.1% 0.174 289.6);
Tailwind
colors: {
  custom: {
    50: '#8869bd',
    500: '#4e2da0',
    950: '#000000',
  },
}
SCSS
$custom: #4e2da0;
$custom-light: #8869bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2da0",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 257.217,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41127,
    "c": 0.17395,
    "h": 289.6
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#4E2DA0
secondary
#A6BE6B
accent
#DF48B4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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