#4827B9#4827B9

#4827B9 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.2% C 0.210 H 283.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#4827B9
RGBrgb(72, 39, 185)
HSLhsl(254, 65%, 44%)
HSVhsv(254, 79%, 73%)
CMYKcmyk(61.1%, 78.9%, 0%, 27.5%)
CIE-LABlab(30.23, 52.61, -70.87)
CIE-LCHlch(30.23, 88.27, 306.59°)
OKLaboklab(42.22% 0.0476 -0.2044)
OKLCHoklch(42.22% 0.21 283.1)
XYZxyz(12.1522, 6.3307, 46.4711)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827B9 #98B927
analogous
#274FB9 #4827B9 #9127B9
triadic
#4827B9 #B94827 #27B948
tetradic
#4827B9 #B9274F #98B927 #27B991
square
#4827B9 #B9274F #98B927 #27B991
split-complementary
#4827B9 #B99127 #4FB927
monochromatic
#211254 #341C86 #4827B9 #6645D8 #9078E3

Accessibility & contrast

On white

9.27
#4827B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4827B9
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4827B9#FFFFFF#000000##FFFFFF
##4827B91.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4827b9;
/* rgb */ color: rgb(72, 39, 185);
/* oklch */ color: oklch(42.2% 0.210 283.1);
Tailwind
colors: {
  custom: {
    50: '#8966cf',
    500: '#4827b9',
    950: '#000000',
  },
}
SCSS
$custom: #4827b9;
$custom-light: #8966cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4827b9",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 185
  },
  "hsl": {
    "h": 253.562,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42222,
    "c": 0.20982,
    "h": 283.1
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#4827B9
secondary
#B6CA72
accent
#E840C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4827B9

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

Preview Lab → · Contrast checker → · Palette generator →

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