#4B24C7#4B24C7

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

Color values

HEX#4B24C7
RGBrgb(75, 36, 199)
HSLhsl(254, 69%, 46%)
HSVhsv(254, 82%, 78%)
CMYKcmyk(62.3%, 81.9%, 0%, 22%)
CIE-LABlab(31.53, 58.16, -76.96)
CIE-LCHlch(31.53, 96.46, 307.08°)
OKLaboklab(43.63% 0.0493 -0.222)
OKLCHoklch(43.63% 0.227 282.5)
XYZxyz(13.8381, 6.8801, 54.6205)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B24C7 #A0C724
analogous
#244EC7 #4B24C7 #9C24C7
triadic
#4B24C7 #C74B24 #24C74B
tetradic
#4B24C7 #C7244E #A0C724 #24C79C
square
#4B24C7 #C7244E #A0C724 #24C79C
split-complementary
#4B24C7 #C79C24 #4EC724
monochromatic
#24115F #371B93 #4B24C7 #6D4ADE #977EE8

Accessibility & contrast

On white

8.84
#4B24C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B24C7
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B24C7#FFFFFF#000000##FFFFFF
##4B24C71.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b24c7;
/* rgb */ color: rgb(75, 36, 199);
/* oklch */ color: oklch(43.6% 0.227 282.5);
Tailwind
colors: {
  custom: {
    50: '#8d66d9',
    500: '#4b24c7',
    950: '#000000',
  },
}
SCSS
$custom: #4b24c7;
$custom-light: #8d66d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b24c7",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 199
  },
  "hsl": {
    "h": 254.356,
    "s": 69.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43625,
    "c": 0.22739,
    "h": 282.5
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#4B24C7
secondary
#BBD077
accent
#EC3CC2
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4B24C7

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

Preview Lab → · Contrast checker → · Palette generator →

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