#4A24B5#4A24B5

#4A24B5 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.7% C 0.208 H 285.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4A24B5
RGBrgb(74, 36, 181)
HSLhsl(256, 67%, 43%)
HSVhsv(256, 80%, 71%)
CMYKcmyk(59.1%, 80.1%, 0%, 29%)
CIE-LABlab(29.55, 53.06, -69.62)
CIE-LCHlch(29.55, 87.54, 307.31°)
OKLaboklab(41.67% 0.0536 -0.2006)
OKLCHoklch(41.67% 0.208 285)
XYZxyz(11.7929, 6.0531, 44.2540)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A24B5 #8FB524
analogous
#2447B5 #4A24B5 #9224B5
triadic
#4A24B5 #B54A24 #24B54A
tetradic
#4A24B5 #B52447 #8FB524 #24B592
square
#4A24B5 #B52447 #8FB524 #24B592
split-complementary
#4A24B5 #B59224 #47B524
monochromatic
#20104F #351A82 #4A24B5 #663ED9 #8F71E3

Accessibility & contrast

On white

9.50
#4A24B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4A24B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A24B5
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A24B5#FFFFFF#000000##FFFFFF
##4A24B51.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#07506D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a24b5;
/* rgb */ color: rgb(74, 36, 181);
/* oklch */ color: oklch(41.7% 0.208 285.0);
Tailwind
colors: {
  custom: {
    50: '#8a65cc',
    500: '#4a24b5',
    950: '#000000',
  },
}
SCSS
$custom: #4a24b5;
$custom-light: #8a65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a24b5",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 181
  },
  "hsl": {
    "h": 255.724,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4167,
    "c": 0.20765,
    "h": 285
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#4A24B5
secondary
#B1C96B
accent
#EA3EBD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4A24B5

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

Preview Lab → · Contrast checker → · Palette generator →

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