#4C24BB#4C24BB

#4C24BB is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.5% C 0.214 H 284.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#4C24BB
RGBrgb(76, 36, 187)
HSLhsl(256, 68%, 44%)
HSVhsv(256, 81%, 73%)
CMYKcmyk(59.4%, 80.7%, 0%, 26.7%)
CIE-LABlab(30.36, 54.95, -71.82)
CIE-LCHlch(30.36, 90.44, 307.42°)
OKLaboklab(42.47% 0.0547 -0.207)
OKLCHoklch(42.47% 0.214 284.8)
XYZxyz(12.5783, 6.3853, 47.5738)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C24BB #93BB24
analogous
#2447BB #4C24BB #9724BB
triadic
#4C24BB #BB4C24 #24BB4C
tetradic
#4C24BB #BB2447 #93BB24 #24BB97
square
#4C24BB #BB2447 #93BB24 #24BB97
split-complementary
#4C24BB #BB9724 #47BB24
monochromatic
#221054 #371A88 #4C24BB #6A42DB #9275E4

Accessibility & contrast

On white

9.22
#4C24BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4C24BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C24BB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C24BB#FFFFFF#000000##FFFFFF
##4C24BB1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#025270
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c24bb;
/* rgb */ color: rgb(76, 36, 187);
/* oklch */ color: oklch(42.5% 0.214 284.8);
Tailwind
colors: {
  custom: {
    50: '#8c65d1',
    500: '#4c24bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c24bb;
$custom-light: #8c65d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c24bb",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 255.894,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42468,
    "c": 0.2141,
    "h": 284.8
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#4C24BB
secondary
#B3CC6F
accent
#EB3DBD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4C24BB

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

Preview Lab → · Contrast checker → · Palette generator →

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