#4A24A2#4A24A2

#4A24A2 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.186 H 288.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4A24A2
RGBrgb(74, 36, 162)
HSLhsl(258, 64%, 39%)
HSVhsv(258, 78%, 64%)
CMYKcmyk(54.3%, 77.8%, 0%, 36.5%)
CIE-LABlab(27.64, 47.73, -61.34)
CIE-LCHlch(27.64, 77.72, 307.89°)
OKLaboklab(39.77% 0.0594 -0.1764)
OKLCHoklch(39.77% 0.186 288.6)
XYZxyz(9.9746, 5.3257, 34.6778)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A24A2 #7CA224
analogous
#243DA2 #4A24A2 #8924A2
triadic
#4A24A2 #A24A24 #24A24A
tetradic
#4A24A2 #A2243D #7CA224 #24A289
square
#4A24A2 #A2243D #7CA224 #24A289
split-complementary
#4A24A2 #A28924 #3DA224
monochromatic
#1C0E3E #331970 #4A24A2 #6232D1 #8864DD

Accessibility & contrast

On white

10.17
#4A24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4A24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A24A2
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A24A2#FFFFFF#000000##FFFFFF
##4A24A21.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#274862
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a24a2;
/* rgb */ color: rgb(74, 36, 162);
/* oklch */ color: oklch(39.8% 0.186 288.6);
Tailwind
colors: {
  custom: {
    50: '#8664bf',
    500: '#4a24a2',
    950: '#000000',
  },
}
SCSS
$custom: #4a24a2;
$custom-light: #8664bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a24a2",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 258.095,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39774,
    "c": 0.18615,
    "h": 288.6
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#4A24A2
secondary
#A4C260
accent
#E741B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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