#4827BB#4827BB

#4827BB is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.212 H 282.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4827BB
RGBrgb(72, 39, 187)
HSLhsl(253, 65%, 44%)
HSVhsv(253, 79%, 73%)
CMYKcmyk(61.5%, 79.1%, 0%, 26.7%)
CIE-LABlab(30.44, 53.19, -71.72)
CIE-LCHlch(30.44, 89.29, 306.56°)
OKLaboklab(42.43% 0.047 -0.2068)
OKLCHoklch(42.43% 0.212 282.8)
XYZxyz(12.3649, 6.4157, 47.5909)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827BB #9ABB27
analogous
#2750BB #4827BB #9227BB
triadic
#4827BB #BB4827 #27BB48
tetradic
#4827BB #BB2750 #9ABB27 #27BB92
square
#4827BB #BB2750 #9ABB27 #27BB92
split-complementary
#4827BB #BB9227 #50BB27
monochromatic
#211256 #351C88 #4827BB #6747D9 #9179E3

Accessibility & contrast

On white

9.20
#4827BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4827BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4827BB#FFFFFF#000000##FFFFFF
##4827BB1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4827bb;
/* rgb */ color: rgb(72, 39, 187);
/* oklch */ color: oklch(42.4% 0.212 282.8);
Tailwind
colors: {
  custom: {
    50: '#8a66d1',
    500: '#4827bb',
    950: '#000000',
  },
}
SCSS
$custom: #4827bb;
$custom-light: #8a66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4827bb",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 253.378,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42427,
    "c": 0.21209,
    "h": 282.8
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#4827BB
secondary
#B7CB73
accent
#E83FC3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4827BB

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

Preview Lab → · Contrast checker → · Palette generator →

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