#4E24B0#4E24B0

#4E24B0 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.5% C 0.202 H 287.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4E24B0
RGBrgb(78, 36, 176)
HSLhsl(258, 66%, 42%)
HSVhsv(258, 80%, 69%)
CMYKcmyk(55.7%, 79.5%, 0%, 31%)
CIE-LABlab(29.45, 52.15, -66.78)
CIE-LCHlch(29.45, 84.73, 307.99°)
OKLaboklab(41.55% 0.0613 -0.1922)
OKLCHoklch(41.55% 0.202 287.7)
XYZxyz(11.6069, 6.0154, 41.6154)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E24B0 #86B024
analogous
#2440B0 #4E24B0 #9424B0
triadic
#4E24B0 #B04E24 #24B04E
tetradic
#4E24B0 #B02440 #86B024 #24B094
square
#4E24B0 #B02440 #86B024 #24B094
split-complementary
#4E24B0 #B09424 #40B024
monochromatic
#210F4A #371A7D #4E24B0 #693AD7 #906DE1

Accessibility & contrast

On white

9.53
#4E24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4E24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E24B0
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E24B0#FFFFFF#000000##FFFFFF
##4E24B01.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#234D6A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e24b0;
/* rgb */ color: rgb(78, 36, 176);
/* oklch */ color: oklch(41.5% 0.202 287.7);
Tailwind
colors: {
  custom: {
    50: '#8b65c9',
    500: '#4e24b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e24b0;
$custom-light: #8b65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e24b0",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 258,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4155,
    "c": 0.20175,
    "h": 287.7
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#4E24B0
secondary
#ABC868
accent
#E93FB6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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