#4E2CAD#4E2CAD

#4E2CAD is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.191 H 287.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4E2CAD
RGBrgb(78, 44, 173)
HSLhsl(256, 59%, 43%)
HSVhsv(256, 75%, 68%)
CMYKcmyk(54.9%, 74.6%, 0%, 32.2%)
CIE-LABlab(30.49, 47.50, -63.27)
CIE-LCHlch(30.49, 79.12, 306.90°)
OKLaboklab(42.19% 0.0564 -0.182)
OKLCHoklch(42.19% 0.191 287.2)
XYZxyz(11.5832, 6.4376, 40.1593)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2CAD #8BAD2C
analogous
#2C4AAD #4E2CAD #8F2CAD
triadic
#4E2CAD #AD4E2C #2CAD4E
tetradic
#4E2CAD #AD2C4A #8BAD2C #2CAD8F
square
#4E2CAD #AD2C4A #8BAD2C #2CAD8F
split-complementary
#4E2CAD #AD8F2C #4AAD2C
monochromatic
#22134B #38207C #4E2CAD #6B46D0 #9277DC

Accessibility & contrast

On white

9.18
#4E2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4E2CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2CAD
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2CAD#FFFFFF#000000##FFFFFF
##4E2CAD1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#264F6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e2cad;
/* rgb */ color: rgb(78, 44, 173);
/* oklch */ color: oklch(42.2% 0.191 287.2);
Tailwind
colors: {
  custom: {
    50: '#8a69c7',
    500: '#4e2cad',
    950: '#000000',
  },
}
SCSS
$custom: #4e2cad;
$custom-light: #8a69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2cad",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 255.814,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4219,
    "c": 0.19055,
    "h": 287.2
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#4E2CAD
secondary
#AEC471
accent
#E345B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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