#4E2AE3#4E2AE3

#4E2AE3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.4% C 0.253 H 279.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4E2AE3
RGBrgb(78, 42, 227)
HSLhsl(252, 77%, 53%)
HSVhsv(252, 81%, 89%)
CMYKcmyk(65.6%, 81.5%, 0%, 11%)
CIE-LABlab(35.64, 63.66, -86.35)
CIE-LCHlch(35.64, 107.28, 306.40°)
OKLaboklab(47.4% 0.042 -0.2493)
OKLCHoklch(47.4% 0.253 279.6)
XYZxyz(17.8306, 8.8202, 73.4210)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2AE3 #BFE32A
analogous
#2A62E3 #4E2AE3 #AB2AE3
triadic
#4E2AE3 #E34E2A #2AE34E
tetradic
#4E2AE3 #E32A62 #BFE32A #2AE3AB
square
#4E2AE3 #E32A62 #BFE32A #2AE3AB
split-complementary
#4E2AE3 #E3AB2A #62E32A
monochromatic
#271182 #3718B8 #4E2AE3 #7B60EA #A896F1

Accessibility & contrast

On white

7.60
#4E2AE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E2AE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2AE3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2AE3#FFFFFF#000000##FFFFFF
##4E2AE31.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE8
Deuteranopia (green-blind)
#004DE0
Tritanopia (blue-blind)
#006589
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e2ae3;
/* rgb */ color: rgb(78, 42, 227);
/* oklch */ color: oklch(47.4% 0.253 279.6);
Tailwind
colors: {
  custom: {
    50: '#936bed',
    500: '#4e2ae3',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ae3;
$custom-light: #936bed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ae3",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 227
  },
  "hsl": {
    "h": 251.676,
    "s": 76.763,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.25283,
    "h": 279.6
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

primary
#4E2AE3
secondary
#CDDC8C
accent
#F334CE
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4E2AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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