#4824A2#4824A2

#4824A2 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.186 H 287.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4824A2
RGBrgb(72, 36, 162)
HSLhsl(257, 64%, 39%)
HSVhsv(257, 78%, 64%)
CMYKcmyk(55.6%, 77.8%, 0%, 36.5%)
CIE-LABlab(27.43, 47.45, -61.70)
CIE-LCHlch(27.43, 77.83, 307.56°)
OKLaboklab(39.57% 0.0563 -0.1775)
OKLCHoklch(39.57% 0.186 287.6)
XYZxyz(9.8230, 5.2476, 34.6707)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4824A2 #7EA224
analogous
#243FA2 #4824A2 #8724A2
triadic
#4824A2 #A24824 #24A248
tetradic
#4824A2 #A2243F #7EA224 #24A287
square
#4824A2 #A2243F #7EA224 #24A287
split-complementary
#4824A2 #A28724 #3FA224
monochromatic
#1B0E3E #321970 #4824A2 #5F32D1 #8664DD

Accessibility & contrast

On white

10.25
#4824A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4824A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4824A2
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4824A2#FFFFFF#000000##FFFFFF
##4824A21.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4824a2;
/* rgb */ color: rgb(72, 36, 162);
/* oklch */ color: oklch(39.6% 0.186 287.6);
Tailwind
colors: {
  custom: {
    50: '#8563bf',
    500: '#4824a2',
    950: '#000000',
  },
}
SCSS
$custom: #4824a2;
$custom-light: #8563bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4824a2",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 257.143,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39574,
    "c": 0.18625,
    "h": 287.6
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#4824A2
secondary
#A6C260
accent
#E741B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4824A2

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

Preview Lab → · Contrast checker → · Palette generator →

#4824A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva