#4C24C7#4C24C7

#4C24C7 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.227 H 282.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4C24C7
RGBrgb(76, 36, 199)
HSLhsl(255, 69%, 46%)
HSVhsv(255, 82%, 78%)
CMYKcmyk(61.8%, 81.9%, 0%, 22%)
CIE-LABlab(31.63, 58.25, -76.80)
CIE-LCHlch(31.63, 96.40, 307.18°)
OKLaboklab(43.71% 0.0508 -0.2215)
OKLCHoklch(43.71% 0.227 282.9)
XYZxyz(13.9170, 6.9208, 54.6242)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C24C7 #9FC724
analogous
#244DC7 #4C24C7 #9D24C7
triadic
#4C24C7 #C74C24 #24C74C
tetradic
#4C24C7 #C7244D #9FC724 #24C79D
square
#4C24C7 #C7244D #9FC724 #24C79D
split-complementary
#4C24C7 #C79D24 #4DC724
monochromatic
#24115F #381B93 #4C24C7 #6E4ADE #987EE8

Accessibility & contrast

On white

8.81
#4C24C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4C24C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C24C7
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C24C7#FFFFFF#000000##FFFFFF
##4C24C71.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCB
Deuteranopia (green-blind)
#0045C4
Tritanopia (blue-blind)
#005777
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c24c7;
/* rgb */ color: rgb(76, 36, 199);
/* oklch */ color: oklch(43.7% 0.227 282.9);
Tailwind
colors: {
  custom: {
    50: '#8e66d9',
    500: '#4c24c7',
    950: '#000000',
  },
}
SCSS
$custom: #4c24c7;
$custom-light: #8e66d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c24c7",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 199
  },
  "hsl": {
    "h": 254.724,
    "s": 69.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.22724,
    "h": 282.9
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#4C24C7
secondary
#BAD077
accent
#EC3CC1
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4C24C7

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

Preview Lab → · Contrast checker → · Palette generator →

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