#4D24CA#4D24CA

#4D24CA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.230 H 282.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4D24CA
RGBrgb(77, 36, 202)
HSLhsl(255, 70%, 47%)
HSVhsv(255, 82%, 79%)
CMYKcmyk(61.9%, 82.2%, 0%, 20.8%)
CIE-LABlab(32.04, 59.17, -77.87)
CIE-LCHlch(32.04, 97.80, 307.23°)
OKLaboklab(44.11% 0.0513 -0.2246)
OKLCHoklch(44.11% 0.23 282.9)
XYZxyz(14.3488, 7.1028, 56.4805)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D24CA #A1CA24
analogous
#244ECA #4D24CA #A024CA
triadic
#4D24CA #CA4D24 #24CA4D
tetradic
#4D24CA #CA244E #A1CA24 #24CAA0
square
#4D24CA #CA244E #A1CA24 #24CAA0
split-complementary
#4D24CA #CAA024 #4ECA24
monochromatic
#251162 #391B96 #4D24CA #704CDF #9A80E8

Accessibility & contrast

On white

8.67
#4D24CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4D24CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D24CA
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D24CA#FFFFFF#000000##FFFFFF
##4D24CA1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d24ca;
/* rgb */ color: rgb(77, 36, 202);
/* oklch */ color: oklch(44.1% 0.230 282.9);
Tailwind
colors: {
  custom: {
    50: '#8f66dc',
    500: '#4d24ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d24ca;
$custom-light: #8f66dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d24ca",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 202
  },
  "hsl": {
    "h": 254.819,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44114,
    "c": 0.23036,
    "h": 282.9
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#4D24CA
secondary
#BBD179
accent
#ED3BC1
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4D24CA

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

Preview Lab → · Contrast checker → · Palette generator →

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