#4D24C7#4D24C7

#4D24C7 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.227 H 283.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4D24C7
RGBrgb(77, 36, 199)
HSLhsl(255, 69%, 46%)
HSVhsv(255, 82%, 78%)
CMYKcmyk(61.3%, 81.9%, 0%, 22%)
CIE-LABlab(31.72, 58.35, -76.64)
CIE-LCHlch(31.72, 96.33, 307.28°)
OKLaboklab(43.8% 0.0523 -0.221)
OKLCHoklch(43.8% 0.227 283.3)
XYZxyz(13.9971, 6.9621, 54.6280)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D24C7 #9EC724
analogous
#244CC7 #4D24C7 #9E24C7
triadic
#4D24C7 #C74D24 #24C74D
tetradic
#4D24C7 #C7244C #9EC724 #24C79E
square
#4D24C7 #C7244C #9EC724 #24C79E
split-complementary
#4D24C7 #C79E24 #4CC724
monochromatic
#25115F #391B93 #4D24C7 #6F4ADE #987EE8

Accessibility & contrast

On white

8.78
#4D24C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4D24C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D24C7
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D24C7#FFFFFF#000000##FFFFFF
##4D24C71.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d24c7;
/* rgb */ color: rgb(77, 36, 199);
/* oklch */ color: oklch(43.8% 0.227 283.3);
Tailwind
colors: {
  custom: {
    50: '#8e66d9',
    500: '#4d24c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d24c7;
$custom-light: #8e66d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d24c7",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 199
  },
  "hsl": {
    "h": 255.092,
    "s": 69.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.438,
    "c": 0.22711,
    "h": 283.3
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D24C7

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

Preview Lab → · Contrast checker → · Palette generator →

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