#4E24A1#4E24A1

#4E24A1 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.185 H 290.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4E24A1
RGBrgb(78, 36, 161)
HSLhsl(260, 63%, 39%)
HSVhsv(260, 78%, 63%)
CMYKcmyk(51.6%, 77.6%, 0%, 36.9%)
CIE-LABlab(27.99, 48.02, -60.14)
CIE-LCHlch(27.99, 76.96, 308.61°)
OKLaboklab(40.09% 0.0659 -0.1728)
OKLCHoklch(40.09% 0.185 290.9)
XYZxyz(10.2039, 5.4542, 34.2264)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E24A1 #77A124
analogous
#2438A1 #4E24A1 #8C24A1
triadic
#4E24A1 #A14E24 #24A14E
tetradic
#4E24A1 #A12438 #77A124 #24A18C
square
#4E24A1 #A12438 #77A124 #24A18C
split-complementary
#4E24A1 #A18C24 #38A124
monochromatic
#1E0E3D #36196F #4E24A1 #6731D1 #8C63DC

Accessibility & contrast

On white

10.04
#4E24A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E24A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E24A1
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E24A1#FFFFFF#000000##FFFFFF
##4E24A11.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#314762
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e24a1;
/* rgb */ color: rgb(78, 36, 161);
/* oklch */ color: oklch(40.1% 0.185 290.9);
Tailwind
colors: {
  custom: {
    50: '#8964be',
    500: '#4e24a1',
    950: '#000000',
  },
}
SCSS
$custom: #4e24a1;
$custom-light: #8964be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e24a1",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 260.16,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40092,
    "c": 0.18491,
    "h": 290.9
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#4E24A1
secondary
#A1C25F
accent
#E641AF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4E24A1

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

Preview Lab → · Contrast checker → · Palette generator →

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