#4C24A4#4C24A4

#4C24A4 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.188 H 289.2°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4C24A4
RGBrgb(76, 36, 164)
HSLhsl(259, 64%, 39%)
HSVhsv(259, 78%, 64%)
CMYKcmyk(53.7%, 78%, 0%, 35.7%)
CIE-LABlab(28.06, 48.56, -61.86)
CIE-LCHlch(28.06, 78.65, 308.13°)
OKLaboklab(40.17% 0.0619 -0.1779)
OKLCHoklch(40.17% 0.188 289.2)
XYZxyz(10.3103, 5.4781, 35.6289)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C24A4 #7CA424
analogous
#243CA4 #4C24A4 #8C24A4
triadic
#4C24A4 #A44C24 #24A44C
tetradic
#4C24A4 #A4243C #7CA424 #24A48C
square
#4C24A4 #A4243C #7CA424 #24A48C
split-complementary
#4C24A4 #A48C24 #3CA424
monochromatic
#1D0E40 #351972 #4C24A4 #6533D2 #8B65DD

Accessibility & contrast

On white

10.02
#4C24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4C24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C24A4
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C24A4#FFFFFF#000000##FFFFFF
##4C24A41.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#2A4863
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c24a4;
/* rgb */ color: rgb(76, 36, 164);
/* oklch */ color: oklch(40.2% 0.188 289.2);
Tailwind
colors: {
  custom: {
    50: '#8864c0',
    500: '#4c24a4',
    950: '#000000',
  },
}
SCSS
$custom: #4c24a4;
$custom-light: #8864c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c24a4",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 258.75,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40172,
    "c": 0.18836,
    "h": 289.2
  },
  "luminance": 0.05479
}

Semantic roles & 50–950 ramp

primary
#4C24A4
secondary
#A4C361
accent
#E741B3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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