#4C24CA#4C24CA

#4C24CA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.231 H 282.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4C24CA
RGBrgb(76, 36, 202)
HSLhsl(254, 70%, 47%)
HSVhsv(254, 82%, 79%)
CMYKcmyk(62.4%, 82.2%, 0%, 20.8%)
CIE-LABlab(31.95, 59.07, -78.03)
CIE-LCHlch(31.95, 97.87, 307.13°)
OKLaboklab(44.03% 0.0498 -0.2251)
OKLCHoklch(44.03% 0.231 282.5)
XYZxyz(14.2687, 7.0615, 56.4768)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C24CA #A2CA24
analogous
#244FCA #4C24CA #9F24CA
triadic
#4C24CA #CA4C24 #24CA4C
tetradic
#4C24CA #CA244F #A2CA24 #24CA9F
square
#4C24CA #CA244F #A2CA24 #24CA9F
split-complementary
#4C24CA #CA9F24 #4FCA24
monochromatic
#251162 #381B96 #4C24CA #704CDF #9980E8

Accessibility & contrast

On white

8.70
#4C24CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4C24CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C24CA
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C24CA#FFFFFF#000000##FFFFFF
##4C24CA1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c24ca;
/* rgb */ color: rgb(76, 36, 202);
/* oklch */ color: oklch(44.0% 0.231 282.5);
Tailwind
colors: {
  custom: {
    50: '#8e66dc',
    500: '#4c24ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c24ca;
$custom-light: #8e66dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c24ca",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 202
  },
  "hsl": {
    "h": 254.458,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44027,
    "c": 0.2305,
    "h": 282.5
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#4C24CA
secondary
#BCD179
accent
#ED3BC2
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4C24CA

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

Preview Lab → · Contrast checker → · Palette generator →

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