#4E2AC3#4E2AC3

#4E2AC3 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.218 H 283.7°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4E2AC3
RGBrgb(78, 42, 195)
HSLhsl(254, 65%, 46%)
HSVhsv(254, 78%, 76%)
CMYKcmyk(60%, 78.5%, 0%, 23.5%)
CIE-LABlab(32.29, 54.75, -73.35)
CIE-LCHlch(32.29, 91.54, 306.74°)
OKLaboklab(44.1% 0.0517 -0.2115)
OKLCHoklch(44.1% 0.218 283.7)
XYZxyz(13.8171, 7.2148, 52.2837)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2AC3 #9FC32A
analogous
#2A52C3 #4E2AC3 #9B2AC3
triadic
#4E2AC3 #C34E2A #2AC34E
tetradic
#4E2AC3 #C32A52 #9FC32A #2AC39B
square
#4E2AC3 #C32A52 #9FC32A #2AC39B
split-complementary
#4E2AC3 #C39B2A #52C32A
monochromatic
#26145E #3A1F91 #4E2AC3 #7151D9 #9A83E4

Accessibility & contrast

On white

8.60
#4E2AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E2AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2AC3
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2AC3#FFFFFF#000000##FFFFFF
##4E2AC31.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C7
Deuteranopia (green-blind)
#0047C0
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e2ac3;
/* rgb */ color: rgb(78, 42, 195);
/* oklch */ color: oklch(44.1% 0.218 283.7);
Tailwind
colors: {
  custom: {
    50: '#8e69d6',
    500: '#4e2ac3',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ac3;
$custom-light: #8e69d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ac3",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 254.118,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.21771,
    "h": 283.7
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#4E2AC3
secondary
#BACD7B
accent
#E840C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E2AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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