#4A24A7#4A24A7

#4A24A7 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.192 H 287.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4A24A7
RGBrgb(74, 36, 167)
HSLhsl(257, 65%, 40%)
HSVhsv(257, 78%, 65%)
CMYKcmyk(55.7%, 78.4%, 0%, 34.5%)
CIE-LABlab(28.13, 49.13, -63.56)
CIE-LCHlch(28.13, 80.33, 307.71°)
OKLaboklab(40.26% 0.0579 -0.1829)
OKLCHoklch(40.26% 0.192 287.6)
XYZxyz(10.4279, 5.5071, 37.0652)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A24A7 #81A724
analogous
#243FA7 #4A24A7 #8C24A7
triadic
#4A24A7 #A74A24 #24A74A
tetradic
#4A24A7 #A7243F #81A724 #24A78C
square
#4A24A7 #A7243F #81A724 #24A78C
split-complementary
#4A24A7 #A78C24 #3FA724
monochromatic
#1D0E42 #341975 #4A24A7 #6335D3 #8A67DE

Accessibility & contrast

On white

9.99
#4A24A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4A24A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A24A7
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A24A7#FFFFFF#000000##FFFFFF
##4A24A71.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#214A65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a24a7;
/* rgb */ color: rgb(74, 36, 167);
/* oklch */ color: oklch(40.3% 0.192 287.6);
Tailwind
colors: {
  custom: {
    50: '#8764c2',
    500: '#4a24a7',
    950: '#000000',
  },
}
SCSS
$custom: #4a24a7;
$custom-light: #8764c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a24a7",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 257.405,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40264,
    "c": 0.19186,
    "h": 287.6
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#4A24A7
secondary
#A8C463
accent
#E840B7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4A24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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