#4824A5#4824A5

#4824A5 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.190 H 287.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4824A5
RGBrgb(72, 36, 165)
HSLhsl(257, 64%, 39%)
HSVhsv(257, 78%, 65%)
CMYKcmyk(56.4%, 78.2%, 0%, 35.3%)
CIE-LABlab(27.72, 48.30, -63.03)
CIE-LCHlch(27.72, 79.41, 307.47°)
OKLaboklab(39.87% 0.0554 -0.1814)
OKLCHoklch(39.87% 0.19 287)
XYZxyz(10.0929, 5.3555, 36.0919)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4824A5 #81A524
analogous
#2441A5 #4824A5 #8924A5
triadic
#4824A5 #A54824 #24A548
tetradic
#4824A5 #A52441 #81A524 #24A589
square
#4824A5 #A52441 #81A524 #24A589
split-complementary
#4824A5 #A58924 #41A524
monochromatic
#1C0E41 #321973 #4824A5 #6034D3 #8766DE

Accessibility & contrast

On white

10.14
#4824A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4824A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4824A5
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4824A5#FFFFFF#000000##FFFFFF
##4824A51.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#1E4964
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4824a5;
/* rgb */ color: rgb(72, 36, 165);
/* oklch */ color: oklch(39.9% 0.190 287.0);
Tailwind
colors: {
  custom: {
    50: '#8664c1',
    500: '#4824a5',
    950: '#000000',
  },
}
SCSS
$custom: #4824a5;
$custom-light: #8664c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4824a5",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 256.744,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.18971,
    "h": 287
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#4824A5
secondary
#A8C362
accent
#E741B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4824A5

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

Preview Lab → · Contrast checker → · Palette generator →

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