#4A24BB#4A24BB

#4A24BB is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.214 H 283.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#4A24BB
RGBrgb(74, 36, 187)
HSLhsl(255, 68%, 44%)
HSVhsv(255, 81%, 73%)
CMYKcmyk(60.4%, 80.7%, 0%, 26.7%)
CIE-LABlab(30.17, 54.74, -72.15)
CIE-LCHlch(30.17, 90.57, 307.18°)
OKLaboklab(42.29% 0.0517 -0.208)
OKLCHoklch(42.29% 0.214 283.9)
XYZxyz(12.4218, 6.3046, 47.5664)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A24BB #95BB24
analogous
#244ABB #4A24BB #9524BB
triadic
#4A24BB #BB4A24 #24BB4A
tetradic
#4A24BB #BB244A #95BB24 #24BB95
square
#4A24BB #BB244A #95BB24 #24BB95
split-complementary
#4A24BB #BB9524 #4ABB24
monochromatic
#211054 #361A88 #4A24BB #6842DB #9175E4

Accessibility & contrast

On white

9.29
#4A24BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4A24BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A24BB
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A24BB#FFFFFF#000000##FFFFFF
##4A24BB1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a24bb;
/* rgb */ color: rgb(74, 36, 187);
/* oklch */ color: oklch(42.3% 0.214 283.9);
Tailwind
colors: {
  custom: {
    50: '#8b65d1',
    500: '#4a24bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a24bb;
$custom-light: #8b65d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a24bb",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 255.099,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42286,
    "c": 0.21433,
    "h": 283.9
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#4A24BB
secondary
#B4CC6F
accent
#EB3DBF
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4A24BB

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

Preview Lab → · Contrast checker → · Palette generator →

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