#4E24B1#4E24B1

#4E24B1 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.6% C 0.203 H 287.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4E24B1
RGBrgb(78, 36, 177)
HSLhsl(258, 66%, 42%)
HSVhsv(258, 80%, 69%)
CMYKcmyk(55.9%, 79.7%, 0%, 30.6%)
CIE-LABlab(29.55, 52.43, -67.21)
CIE-LCHlch(29.55, 85.24, 307.96°)
OKLaboklab(41.65% 0.061 -0.1935)
OKLCHoklch(41.65% 0.203 287.5)
XYZxyz(11.7062, 6.0552, 42.1384)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E24B1 #87B124
analogous
#2441B1 #4E24B1 #9524B1
triadic
#4E24B1 #B14E24 #24B14E
tetradic
#4E24B1 #B12441 #87B124 #24B195
square
#4E24B1 #B12441 #87B124 #24B195
split-complementary
#4E24B1 #B19524 #41B124
monochromatic
#210F4B #381A7E #4E24B1 #6A3BD7 #906EE1

Accessibility & contrast

On white

9.50
#4E24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E24B1
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E24B1#FFFFFF#000000##FFFFFF
##4E24B11.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#224E6B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e24b1;
/* rgb */ color: rgb(78, 36, 177);
/* oklch */ color: oklch(41.6% 0.203 287.5);
Tailwind
colors: {
  custom: {
    50: '#8b65ca',
    500: '#4e24b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e24b1;
$custom-light: #8b65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e24b1",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 257.872,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.20286,
    "h": 287.5
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#4E24B1
secondary
#ACC869
accent
#E93FB6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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