#4C24B2#4C24B2

#4C24B2 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.6% C 0.204 H 286.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4C24B2
RGBrgb(76, 36, 178)
HSLhsl(257, 66%, 42%)
HSVhsv(257, 80%, 70%)
CMYKcmyk(57.3%, 79.8%, 0%, 30.2%)
CIE-LABlab(29.44, 52.46, -68.00)
CIE-LCHlch(29.44, 85.88, 307.65°)
OKLaboklab(41.56% 0.0576 -0.1958)
OKLCHoklch(41.56% 0.204 286.4)
XYZxyz(11.6448, 6.0119, 42.6577)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C24B2 #8AB224
analogous
#2443B2 #4C24B2 #9324B2
triadic
#4C24B2 #B24C24 #24B24C
tetradic
#4C24B2 #B22443 #8AB224 #24B293
square
#4C24B2 #B22443 #8AB224 #24B293
split-complementary
#4C24B2 #B29324 #43B224
monochromatic
#210F4C #361A7F #4C24B2 #683CD8 #8F6FE2

Accessibility & contrast

On white

9.53
#4C24B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4C24B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C24B2
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C24B2#FFFFFF#000000##FFFFFF
##4C24B21.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#194E6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c24b2;
/* rgb */ color: rgb(76, 36, 178);
/* oklch */ color: oklch(41.6% 0.204 286.4);
Tailwind
colors: {
  custom: {
    50: '#8a65ca',
    500: '#4c24b2',
    950: '#000000',
  },
}
SCSS
$custom: #4c24b2;
$custom-light: #8a65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4c24b2",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 256.901,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41555,
    "c": 0.20412,
    "h": 286.4
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#4C24B2
secondary
#AEC869
accent
#E93FB9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C24B2

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

Preview Lab → · Contrast checker → · Palette generator →

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