#4827BD#4827BD

#4827BD is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.6% C 0.214 H 282.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4827BD
RGBrgb(72, 39, 189)
HSLhsl(253, 66%, 45%)
HSVhsv(253, 79%, 74%)
CMYKcmyk(61.9%, 79.4%, 0%, 25.9%)
CIE-LABlab(30.65, 53.76, -72.56)
CIE-LCHlch(30.65, 90.30, 306.53°)
OKLaboklab(42.63% 0.0464 -0.2093)
OKLCHoklch(42.63% 0.214 282.5)
XYZxyz(12.5805, 6.5020, 48.7263)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827BD #9CBD27
analogous
#2751BD #4827BD #9327BD
triadic
#4827BD #BD4827 #27BD48
tetradic
#4827BD #BD2751 #9CBD27 #27BD93
square
#4827BD #BD2751 #9CBD27 #27BD93
split-complementary
#4827BD #BD9327 #51BD27
monochromatic
#211258 #351D8A #4827BD #6848D9 #927BE4

Accessibility & contrast

On white

9.13
#4827BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4827BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4827BD#FFFFFF#000000##FFFFFF
##4827BD1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4827bd;
/* rgb */ color: rgb(72, 39, 189);
/* oklch */ color: oklch(42.6% 0.214 282.5);
Tailwind
colors: {
  custom: {
    50: '#8a67d2',
    500: '#4827bd',
    950: '#000000',
  },
}
SCSS
$custom: #4827bd;
$custom-light: #8a67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4827bd",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 253.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42632,
    "c": 0.21435,
    "h": 282.5
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#4827BD
secondary
#B8CC74
accent
#E93FC3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4827BD

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

Preview Lab → · Contrast checker → · Palette generator →

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