#4A24C7#4A24C7

#4A24C7 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.228 H 282.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4A24C7
RGBrgb(74, 36, 199)
HSLhsl(254, 69%, 46%)
HSVhsv(254, 82%, 78%)
CMYKcmyk(62.8%, 81.9%, 0%, 22%)
CIE-LABlab(31.44, 58.06, -77.12)
CIE-LCHlch(31.44, 96.53, 306.98°)
OKLaboklab(43.54% 0.0477 -0.2225)
OKLCHoklch(43.54% 0.228 282.1)
XYZxyz(13.7605, 6.8401, 54.6169)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A24C7 #A1C724
analogous
#244FC7 #4A24C7 #9B24C7
triadic
#4A24C7 #C74A24 #24C74A
tetradic
#4A24C7 #C7244F #A1C724 #24C79B
square
#4A24C7 #C7244F #A1C724 #24C79B
split-complementary
#4A24C7 #C79B24 #4FC724
monochromatic
#23115F #371B93 #4A24C7 #6D4ADE #967EE8

Accessibility & contrast

On white

8.87
#4A24C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4A24C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A24C7
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A24C7#FFFFFF#000000##FFFFFF
##4A24C71.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCB
Deuteranopia (green-blind)
#0044C4
Tritanopia (blue-blind)
#005777
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a24c7;
/* rgb */ color: rgb(74, 36, 199);
/* oklch */ color: oklch(43.5% 0.228 282.1);
Tailwind
colors: {
  custom: {
    50: '#8d66d9',
    500: '#4a24c7',
    950: '#000000',
  },
}
SCSS
$custom: #4a24c7;
$custom-light: #8d66d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a24c7",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 199
  },
  "hsl": {
    "h": 253.988,
    "s": 69.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43539,
    "c": 0.22753,
    "h": 282.1
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#4A24C7
secondary
#BBD077
accent
#EC3CC3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4A24C7

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

Preview Lab → · Contrast checker → · Palette generator →

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