#4A24AE#4A24AE

#4A24AE is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.200 H 286.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4A24AE
RGBrgb(74, 36, 174)
HSLhsl(257, 66%, 41%)
HSVhsv(257, 79%, 68%)
CMYKcmyk(57.5%, 79.3%, 0%, 31.8%)
CIE-LABlab(28.83, 51.10, -66.62)
CIE-LCHlch(28.83, 83.96, 307.49°)
OKLaboklab(40.96% 0.0558 -0.1918)
OKLCHoklch(40.96% 0.2 286.2)
XYZxyz(11.0926, 5.7729, 40.5660)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A24AE #88AE24
analogous
#2443AE #4A24AE #8F24AE
triadic
#4A24AE #AE4A24 #24AE4A
tetradic
#4A24AE #AE2443 #88AE24 #24AE8F
square
#4A24AE #AE2443 #88AE24 #24AE8F
split-complementary
#4A24AE #AE8F24 #43AE24
monochromatic
#1F0F49 #341A7B #4A24AE #6439D6 #8C6CE1

Accessibility & contrast

On white

9.75
#4A24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4A24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A24AE
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A24AE#FFFFFF#000000##FFFFFF
##4A24AE1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#184D69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a24ae;
/* rgb */ color: rgb(74, 36, 174);
/* oklch */ color: oklch(41.0% 0.200 286.2);
Tailwind
colors: {
  custom: {
    50: '#8864c7',
    500: '#4a24ae',
    950: '#000000',
  },
}
SCSS
$custom: #4a24ae;
$custom-light: #8864c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a24ae",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 256.522,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40961,
    "c": 0.1998,
    "h": 286.2
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#4A24AE
secondary
#ACC767
accent
#E93FBA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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