#4E24B3#4E24B3

#4E24B3 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.8% C 0.205 H 287.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#4E24B3
RGBrgb(78, 36, 179)
HSLhsl(258, 67%, 42%)
HSVhsv(258, 80%, 70%)
CMYKcmyk(56.4%, 79.9%, 0%, 29.8%)
CIE-LABlab(29.75, 52.98, -68.07)
CIE-LCHlch(29.75, 86.26, 307.89°)
OKLaboklab(41.85% 0.0604 -0.196)
OKLCHoklch(41.85% 0.205 287.1)
XYZxyz(11.9070, 6.1355, 43.1959)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E24B3 #89B324
analogous
#2442B3 #4E24B3 #9524B3
triadic
#4E24B3 #B34E24 #24B34E
tetradic
#4E24B3 #B32442 #89B324 #24B395
square
#4E24B3 #B32442 #89B324 #24B395
split-complementary
#4E24B3 #B39524 #42B324
monochromatic
#22104D #381A80 #4E24B3 #6A3CD8 #916FE2

Accessibility & contrast

On white

9.43
#4E24B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4E24B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E24B3
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E24B3#FFFFFF#000000##FFFFFF
##4E24B31.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#1F4E6C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e24b3;
/* rgb */ color: rgb(78, 36, 179);
/* oklch */ color: oklch(41.8% 0.205 287.1);
Tailwind
colors: {
  custom: {
    50: '#8b65cb',
    500: '#4e24b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e24b3;
$custom-light: #8b65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e24b3",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 257.622,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.20508,
    "h": 287.1
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#4E24B3
secondary
#ADC96A
accent
#E93EB7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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