#4827AB#4827AB

#4827AB is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.194 H 285.4°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4827AB
RGBrgb(72, 39, 171)
HSLhsl(255, 63%, 41%)
HSVhsv(255, 77%, 67%)
CMYKcmyk(57.9%, 77.2%, 0%, 32.9%)
CIE-LABlab(28.82, 48.58, -64.84)
CIE-LCHlch(28.82, 81.02, 306.84°)
OKLaboklab(40.82% 0.0516 -0.1868)
OKLCHoklch(40.82% 0.194 285.4)
XYZxyz(10.7465, 5.7684, 39.0673)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827AB #8AAB27
analogous
#2748AB #4827AB #8A27AB
triadic
#4827AB #AB4827 #27AB48
tetradic
#4827AB #AB2748 #8AAB27 #27AB8A
square
#4827AB #AB2748 #8AAB27 #27AB8A
split-complementary
#4827AB #AB8A27 #48AB27
monochromatic
#1E1047 #331C79 #4827AB #623DD3 #8A6EDE

Accessibility & contrast

On white

9.75
#4827AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##4827AB#FFFFFF#000000##FFFFFF
##4827AB1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#144D68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4827ab;
/* rgb */ color: rgb(72, 39, 171);
/* oklch */ color: oklch(40.8% 0.194 285.4);
Tailwind
colors: {
  custom: {
    50: '#8765c5',
    500: '#4827ab',
    950: '#000000',
  },
}
SCSS
$custom: #4827ab;
$custom-light: #8765c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4827ab",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 255,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40815,
    "c": 0.19376,
    "h": 285.4
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4827AB

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

Preview Lab → · Contrast checker → · Palette generator →

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