#4E2AE2#4E2AE2

#4E2AE2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.252 H 279.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4E2AE2
RGBrgb(78, 42, 226)
HSLhsl(252, 76%, 53%)
HSVhsv(252, 81%, 89%)
CMYKcmyk(65.5%, 81.4%, 0%, 11.4%)
CIE-LABlab(35.53, 63.39, -85.96)
CIE-LCHlch(35.53, 106.80, 306.40°)
OKLaboklab(47.29% 0.0423 -0.2482)
OKLCHoklch(47.29% 0.252 279.7)
XYZxyz(17.6929, 8.7652, 72.6962)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2AE2 #BEE22A
analogous
#2A62E2 #4E2AE2 #AA2AE2
triadic
#4E2AE2 #E24E2A #2AE24E
tetradic
#4E2AE2 #E22A62 #BEE22A #2AE2AA
square
#4E2AE2 #E22A62 #BEE22A #2AE2AA
split-complementary
#4E2AE2 #E2AA2A #62E22A
monochromatic
#271180 #3819B6 #4E2AE2 #7B60E9 #A896F1

Accessibility & contrast

On white

7.63
#4E2AE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4E2AE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2AE2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2AE2#FFFFFF#000000##FFFFFF
##4E2AE21.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#004CDF
Tritanopia (blue-blind)
#006488
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e2ae2;
/* rgb */ color: rgb(78, 42, 226);
/* oklch */ color: oklch(47.3% 0.252 279.7);
Tailwind
colors: {
  custom: {
    50: '#936bed',
    500: '#4e2ae2',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ae2;
$custom-light: #936bed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ae2",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 226
  },
  "hsl": {
    "h": 251.739,
    "s": 76.033,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47291,
    "c": 0.25176,
    "h": 279.7
  },
  "luminance": 0.08767
}

Semantic roles & 50–950 ramp

primary
#4E2AE2
secondary
#CCDC8C
accent
#F335CE
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4E2AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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