#4827BC#4827BC

#4827BC is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.213 H 282.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4827BC
RGBrgb(72, 39, 188)
HSLhsl(253, 66%, 45%)
HSVhsv(253, 79%, 74%)
CMYKcmyk(61.7%, 79.3%, 0%, 26.3%)
CIE-LABlab(30.54, 53.47, -72.14)
CIE-LCHlch(30.54, 89.79, 306.55°)
OKLaboklab(42.53% 0.0466 -0.208)
OKLCHoklch(42.53% 0.213 282.6)
XYZxyz(12.4723, 6.4587, 48.1566)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827BC #9BBC27
analogous
#2750BC #4827BC #9327BC
triadic
#4827BC #BC4827 #27BC48
tetradic
#4827BC #BC2750 #9BBC27 #27BC93
square
#4827BC #BC2750 #9BBC27 #27BC93
split-complementary
#4827BC #BC9327 #50BC27
monochromatic
#211257 #351C89 #4827BC #6847D9 #917AE3

Accessibility & contrast

On white

9.16
#4827BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4827BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4827BC#FFFFFF#000000##FFFFFF
##4827BC1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4827bc;
/* rgb */ color: rgb(72, 39, 188);
/* oklch */ color: oklch(42.5% 0.213 282.6);
Tailwind
colors: {
  custom: {
    50: '#8a66d2',
    500: '#4827bc',
    950: '#000000',
  },
}
SCSS
$custom: #4827bc;
$custom-light: #8a66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4827bc",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 253.289,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42529,
    "c": 0.21322,
    "h": 282.6
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4827BC

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

Preview Lab → · Contrast checker → · Palette generator →

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