#4827AA#4827AA

#4827AA is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.193 H 285.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4827AA
RGBrgb(72, 39, 170)
HSLhsl(255, 63%, 41%)
HSVhsv(255, 77%, 67%)
CMYKcmyk(57.6%, 77.1%, 0%, 33.3%)
CIE-LABlab(28.72, 48.29, -64.40)
CIE-LCHlch(28.72, 80.50, 306.87°)
OKLaboklab(40.72% 0.0519 -0.1855)
OKLCHoklch(40.72% 0.193 285.6)
XYZxyz(10.6515, 5.7304, 38.5672)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827AA #89AA27
analogous
#2747AA #4827AA #8927AA
triadic
#4827AA #AA4827 #27AA48
tetradic
#4827AA #AA2747 #89AA27 #27AA89
square
#4827AA #AA2747 #89AA27 #27AA89
split-complementary
#4827AA #AA8927 #47AA27
monochromatic
#1E1046 #331C78 #4827AA #623CD2 #8A6EDE

Accessibility & contrast

On white

9.78
#4827AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4827AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4827AA
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4827AA#FFFFFF#000000##FFFFFF
##4827AA1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#164C67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4827aa;
/* rgb */ color: rgb(72, 39, 170);
/* oklch */ color: oklch(40.7% 0.193 285.6);
Tailwind
colors: {
  custom: {
    50: '#8765c4',
    500: '#4827aa',
    950: '#000000',
  },
}
SCSS
$custom: #4827aa;
$custom-light: #8765c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4827aa",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 255.115,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.19259,
    "h": 285.6
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#4827AA
secondary
#ADC469
accent
#E642BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4827AA

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

Preview Lab → · Contrast checker → · Palette generator →

#4827AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva