#4E24A8#4E24A8

#4E24A8 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.193 H 289.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#4E24A8
RGBrgb(78, 36, 168)
HSLhsl(259, 65%, 40%)
HSVhsv(259, 79%, 66%)
CMYKcmyk(53.6%, 78.6%, 0%, 34.1%)
CIE-LABlab(28.66, 49.95, -63.27)
CIE-LCHlch(28.66, 80.61, 308.29°)
OKLaboklab(40.77% 0.0638 -0.1819)
OKLCHoklch(40.77% 0.193 289.3)
XYZxyz(10.8386, 5.7081, 37.5689)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E24A8 #7EA824
analogous
#243CA8 #4E24A8 #9024A8
triadic
#4E24A8 #A84E24 #24A84E
tetradic
#4E24A8 #A8243C #7EA824 #24A890
square
#4E24A8 #A8243C #7EA824 #24A890
split-complementary
#4E24A8 #A89024 #3CA824
monochromatic
#1F0E43 #371976 #4E24A8 #6835D4 #8E68DF

Accessibility & contrast

On white

9.80
#4E24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4E24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E24A8
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E24A8#FFFFFF#000000##FFFFFF
##4E24A81.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#2B4A66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e24a8;
/* rgb */ color: rgb(78, 36, 168);
/* oklch */ color: oklch(40.8% 0.193 289.3);
Tailwind
colors: {
  custom: {
    50: '#8a64c3',
    500: '#4e24a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e24a8;
$custom-light: #8a64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e24a8",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 259.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.40765,
    "c": 0.19281,
    "h": 289.3
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#4E24A8
secondary
#A6C463
accent
#E840B2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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