#4C24AE#4C24AE

#4C24AE is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.200 H 287.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#4C24AE
RGBrgb(76, 36, 174)
HSLhsl(257, 66%, 41%)
HSVhsv(257, 79%, 68%)
CMYKcmyk(56.3%, 79.3%, 0%, 31.8%)
CIE-LABlab(29.04, 51.35, -66.27)
CIE-LCHlch(29.04, 83.83, 307.77°)
OKLaboklab(41.16% 0.0589 -0.1908)
OKLCHoklch(41.16% 0.2 287.1)
XYZxyz(11.2491, 5.8536, 40.5733)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C24AE #86AE24
analogous
#2441AE #4C24AE #9124AE
triadic
#4C24AE #AE4C24 #24AE4C
tetradic
#4C24AE #AE2441 #86AE24 #24AE91
square
#4C24AE #AE2441 #86AE24 #24AE91
split-complementary
#4C24AE #AE9124 #41AE24
monochromatic
#200F49 #361A7B #4C24AE #6739D6 #8E6CE1

Accessibility & contrast

On white

9.67
#4C24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4C24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C24AE
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C24AE#FFFFFF#000000##FFFFFF
##4C24AE1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#1F4C69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c24ae;
/* rgb */ color: rgb(76, 36, 174);
/* oklch */ color: oklch(41.2% 0.200 287.1);
Tailwind
colors: {
  custom: {
    50: '#8a64c7',
    500: '#4c24ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c24ae;
$custom-light: #8a64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c24ae",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 257.391,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41155,
    "c": 0.19965,
    "h": 287.1
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#4C24AE
secondary
#ABC767
accent
#E93FB8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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