#4E2AC4#4E2AC4

#4E2AC4 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.219 H 283.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4E2AC4
RGBrgb(78, 42, 196)
HSLhsl(254, 65%, 47%)
HSVhsv(254, 79%, 77%)
CMYKcmyk(60.2%, 78.6%, 0%, 23.1%)
CIE-LABlab(32.39, 55.03, -73.77)
CIE-LCHlch(32.39, 92.04, 306.72°)
OKLaboklab(44.2% 0.0514 -0.2127)
OKLCHoklch(44.2% 0.219 283.6)
XYZxyz(13.9306, 7.2602, 52.8811)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2AC4 #A0C42A
analogous
#2A53C4 #4E2AC4 #9B2AC4
triadic
#4E2AC4 #C44E2A #2AC44E
tetradic
#4E2AC4 #C42A53 #A0C42A #2AC49B
square
#4E2AC4 #C42A53 #A0C42A #2AC49B
split-complementary
#4E2AC4 #C49B2A #53C42A
monochromatic
#26145F #3A1F92 #4E2AC4 #7151DA #9A84E5

Accessibility & contrast

On white

8.56
#4E2AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E2AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2AC4
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2AC4#FFFFFF#000000##FFFFFF
##4E2AC41.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e2ac4;
/* rgb */ color: rgb(78, 42, 196);
/* oklch */ color: oklch(44.2% 0.219 283.6);
Tailwind
colors: {
  custom: {
    50: '#8e69d7',
    500: '#4e2ac4',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ac4;
$custom-light: #8e69d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ac4",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 196
  },
  "hsl": {
    "h": 254.026,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44195,
    "c": 0.21882,
    "h": 283.6
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#4E2AC4
secondary
#BBCE7C
accent
#E840C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E2AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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