#4E2CCA#4E2CCA

#4E2CCA is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.224 H 282.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4E2CCA
RGBrgb(78, 44, 202)
HSLhsl(253, 64%, 48%)
HSVhsv(253, 78%, 79%)
CMYKcmyk(61.4%, 78.2%, 0%, 20.8%)
CIE-LABlab(33.32, 55.82, -75.76)
CIE-LCHlch(33.32, 94.10, 306.38°)
OKLaboklab(45.02% 0.0485 -0.2185)
OKLCHoklch(45.02% 0.224 282.5)
XYZxyz(14.6999, 7.6843, 56.5743)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2CCA #A8CA2C
analogous
#2C59CA #4E2CCA #9D2CCA
triadic
#4E2CCA #CA4E2C #2CCA4E
tetradic
#4E2CCA #CA2C59 #A8CA2C #2CCA9D
square
#4E2CCA #CA2C59 #A8CA2C #2CCA9D
split-complementary
#4E2CCA #CA9D2C #59CA2C
monochromatic
#271665 #3B2198 #4E2CCA #7558DB #9E8BE6

Accessibility & contrast

On white

8.28
#4E2CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E2CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2CCA
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2CCA#FFFFFF#000000##FFFFFF
##4E2CCA1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#005B7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e2cca;
/* rgb */ color: rgb(78, 44, 202);
/* oklch */ color: oklch(45.0% 0.224 282.5);
Tailwind
colors: {
  custom: {
    50: '#8f6adb',
    500: '#4e2cca',
    950: '#000000',
  },
}
SCSS
$custom: #4e2cca;
$custom-light: #8f6adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2cca",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 252.911,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4502,
    "c": 0.22382,
    "h": 282.5
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#4E2CCA
secondary
#BFD082
accent
#E741C3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E2CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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