#4E24A7#4E24A7

#4E24A7 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.192 H 289.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#4E24A7
RGBrgb(78, 36, 167)
HSLhsl(259, 65%, 40%)
HSVhsv(259, 78%, 65%)
CMYKcmyk(53.3%, 78.4%, 0%, 34.5%)
CIE-LABlab(28.57, 49.67, -62.83)
CIE-LCHlch(28.57, 80.09, 308.33°)
OKLaboklab(40.67% 0.0641 -0.1806)
OKLCHoklch(40.67% 0.192 289.5)
XYZxyz(10.7458, 5.6710, 37.0801)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E24A7 #7DA724
analogous
#243BA7 #4E24A7 #9024A7
triadic
#4E24A7 #A74E24 #24A74E
tetradic
#4E24A7 #A7243B #7DA724 #24A790
square
#4E24A7 #A7243B #7DA724 #24A790
split-complementary
#4E24A7 #A79024 #3BA724
monochromatic
#1F0E42 #361975 #4E24A7 #6835D3 #8D67DE

Accessibility & contrast

On white

9.84
#4E24A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E24A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E24A7
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E24A7#FFFFFF#000000##FFFFFF
##4E24A71.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#2C4965
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e24a7;
/* rgb */ color: rgb(78, 36, 167);
/* oklch */ color: oklch(40.7% 0.192 289.5);
Tailwind
colors: {
  custom: {
    50: '#8964c2',
    500: '#4e24a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e24a7;
$custom-light: #8964c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e24a7",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 259.237,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.19169,
    "h": 289.5
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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