#4A24CA#4A24CA

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

Color values

HEX#4A24CA
RGBrgb(74, 36, 202)
HSLhsl(254, 70%, 47%)
HSVhsv(254, 82%, 79%)
CMYKcmyk(63.4%, 82.2%, 0%, 20.8%)
CIE-LABlab(31.76, 58.89, -78.34)
CIE-LCHlch(31.76, 98.00, 306.93°)
OKLaboklab(43.86% 0.0468 -0.226)
OKLCHoklch(43.86% 0.231 281.7)
XYZxyz(14.1122, 6.9808, 56.4694)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A24CA #A4CA24
analogous
#2451CA #4A24CA #9D24CA
triadic
#4A24CA #CA4A24 #24CA4A
tetradic
#4A24CA #CA2451 #A4CA24 #24CA9D
square
#4A24CA #CA2451 #A4CA24 #24CA9D
split-complementary
#4A24CA #CA9D24 #51CA24
monochromatic
#241162 #371B96 #4A24CA #6E4CDF #9880E8

Accessibility & contrast

On white

8.76
#4A24CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A24CA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A24CA#FFFFFF#000000##FFFFFF
##4A24CA1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.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: #4a24ca;
/* rgb */ color: rgb(74, 36, 202);
/* oklch */ color: oklch(43.9% 0.231 281.7);
Tailwind
colors: {
  custom: {
    50: '#8d66dc',
    500: '#4a24ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a24ca;
$custom-light: #8d66dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a24ca",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 202
  },
  "hsl": {
    "h": 253.735,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43856,
    "c": 0.2308,
    "h": 281.7
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#4A24CA
secondary
#BDD179
accent
#ED3BC4
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4A24CA

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

Preview Lab → · Contrast checker → · Palette generator →

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