#4827BA#4827BA

#4827BA is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.3% C 0.211 H 282.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#4827BA
RGBrgb(72, 39, 186)
HSLhsl(253, 65%, 44%)
HSVhsv(253, 79%, 73%)
CMYKcmyk(61.3%, 79%, 0%, 27.1%)
CIE-LABlab(30.33, 52.90, -71.29)
CIE-LCHlch(30.33, 88.78, 306.58°)
OKLaboklab(42.32% 0.0473 -0.2056)
OKLCHoklch(42.32% 0.211 282.9)
XYZxyz(12.2582, 6.3731, 47.0290)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827BA #99BA27
analogous
#2750BA #4827BA #9227BA
triadic
#4827BA #BA4827 #27BA48
tetradic
#4827BA #BA2750 #99BA27 #27BA92
square
#4827BA #BA2750 #99BA27 #27BA92
split-complementary
#4827BA #BA9227 #50BA27
monochromatic
#211255 #341C87 #4827BA #6746D8 #9079E3

Accessibility & contrast

On white

9.23
#4827BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4827BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4827BA#FFFFFF#000000##FFFFFF
##4827BA1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4827ba;
/* rgb */ color: rgb(72, 39, 186);
/* oklch */ color: oklch(42.3% 0.211 282.9);
Tailwind
colors: {
  custom: {
    50: '#8966d0',
    500: '#4827ba',
    950: '#000000',
  },
}
SCSS
$custom: #4827ba;
$custom-light: #8966d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4827ba",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 253.469,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42324,
    "c": 0.21096,
    "h": 282.9
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#4827BA
secondary
#B7CB72
accent
#E840C2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4827BA

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

Preview Lab → · Contrast checker → · Palette generator →

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