#4A24A4#4A24A4

#4A24A4 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.188 H 288.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4A24A4
RGBrgb(74, 36, 164)
HSLhsl(258, 64%, 39%)
HSVhsv(258, 78%, 64%)
CMYKcmyk(54.9%, 78%, 0%, 35.7%)
CIE-LABlab(27.84, 48.29, -62.23)
CIE-LCHlch(27.84, 78.77, 307.81°)
OKLaboklab(39.97% 0.0588 -0.179)
OKLCHoklch(39.97% 0.188 288.2)
XYZxyz(10.1538, 5.3974, 35.6215)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A24A4 #7EA424
analogous
#243EA4 #4A24A4 #8A24A4
triadic
#4A24A4 #A44A24 #24A44A
tetradic
#4A24A4 #A4243E #7EA424 #24A48A
square
#4A24A4 #A4243E #7EA424 #24A48A
split-complementary
#4A24A4 #A48A24 #3EA424
monochromatic
#1D0E40 #331972 #4A24A4 #6233D2 #8965DD

Accessibility & contrast

On white

10.10
#4A24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4A24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A24A4
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A24A4#FFFFFF#000000##FFFFFF
##4A24A41.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#254963
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a24a4;
/* rgb */ color: rgb(74, 36, 164);
/* oklch */ color: oklch(40.0% 0.188 288.2);
Tailwind
colors: {
  custom: {
    50: '#8764c0',
    500: '#4a24a4',
    950: '#000000',
  },
}
SCSS
$custom: #4a24a4;
$custom-light: #8764c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a24a4",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 257.813,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3997,
    "c": 0.18844,
    "h": 288.2
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#4A24A4
secondary
#A6C361
accent
#E741B6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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