#4B24CA#4B24CA

#4B24CA is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.231 H 282.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#4B24CA
RGBrgb(75, 36, 202)
HSLhsl(254, 70%, 47%)
HSVhsv(254, 82%, 79%)
CMYKcmyk(62.9%, 82.2%, 0%, 20.8%)
CIE-LABlab(31.85, 58.98, -78.18)
CIE-LCHlch(31.85, 97.93, 307.03°)
OKLaboklab(43.94% 0.0483 -0.2255)
OKLCHoklch(43.94% 0.231 282.1)
XYZxyz(14.1899, 7.0208, 56.4731)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B24CA #A3CA24
analogous
#2450CA #4B24CA #9E24CA
triadic
#4B24CA #CA4B24 #24CA4B
tetradic
#4B24CA #CA2450 #A3CA24 #24CA9E
square
#4B24CA #CA2450 #A3CA24 #24CA9E
split-complementary
#4B24CA #CA9E24 #50CA24
monochromatic
#241162 #381B96 #4B24CA #6F4CDF #9980E8

Accessibility & contrast

On white

8.73
#4B24CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4B24CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B24CA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B24CA#FFFFFF#000000##FFFFFF
##4B24CA1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b24ca;
/* rgb */ color: rgb(75, 36, 202);
/* oklch */ color: oklch(43.9% 0.231 282.1);
Tailwind
colors: {
  custom: {
    50: '#8e66dc',
    500: '#4b24ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b24ca;
$custom-light: #8e66dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b24ca",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 202
  },
  "hsl": {
    "h": 254.096,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43941,
    "c": 0.23065,
    "h": 282.1
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#4B24CA
secondary
#BCD179
accent
#ED3BC3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4B24CA

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

Preview Lab → · Contrast checker → · Palette generator →

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