#4A24B2#4A24B2

#4A24B2 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.204 H 285.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4A24B2
RGBrgb(74, 36, 178)
HSLhsl(256, 66%, 42%)
HSVhsv(256, 80%, 70%)
CMYKcmyk(58.4%, 79.8%, 0%, 30.2%)
CIE-LABlab(29.24, 52.22, -68.34)
CIE-LCHlch(29.24, 86.01, 307.39°)
OKLaboklab(41.37% 0.0545 -0.1969)
OKLCHoklch(41.37% 0.204 285.5)
XYZxyz(11.4884, 5.9313, 42.6503)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A24B2 #8CB224
analogous
#2445B2 #4A24B2 #9124B2
triadic
#4A24B2 #B24A24 #24B24A
tetradic
#4A24B2 #B22445 #8CB224 #24B291
square
#4A24B2 #B22445 #8CB224 #24B291
split-complementary
#4A24B2 #B29124 #45B224
monochromatic
#200F4C #351A7F #4A24B2 #653CD8 #8D6FE2

Accessibility & contrast

On white

9.60
#4A24B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4A24B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A24B2
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A24B2#FFFFFF#000000##FFFFFF
##4A24B21.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#104E6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a24b2;
/* rgb */ color: rgb(74, 36, 178);
/* oklch */ color: oklch(41.4% 0.204 285.5);
Tailwind
colors: {
  custom: {
    50: '#8964ca',
    500: '#4a24b2',
    950: '#000000',
  },
}
SCSS
$custom: #4a24b2;
$custom-light: #8964ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4a24b2",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 256.056,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.20429,
    "h": 285.5
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#4A24B2
secondary
#AFC869
accent
#E93FBC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A24B2

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

Preview Lab → · Contrast checker → · Palette generator →

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