#4827B6#4827B6

#4827B6 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.9% C 0.206 H 283.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#4827B6
RGBrgb(72, 39, 182)
HSLhsl(254, 65%, 43%)
HSVhsv(254, 79%, 71%)
CMYKcmyk(60.4%, 78.6%, 0%, 28.6%)
CIE-LABlab(29.92, 51.75, -69.60)
CIE-LCHlch(29.92, 86.73, 306.64°)
OKLaboklab(41.92% 0.0484 -0.2006)
OKLCHoklch(41.92% 0.206 283.6)
XYZxyz(11.8389, 6.2054, 44.8208)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827B6 #95B627
analogous
#274DB6 #4827B6 #8F27B6
triadic
#4827B6 #B64827 #27B648
tetradic
#4827B6 #B6274D #95B627 #27B68F
square
#4827B6 #B6274D #95B627 #27B68F
split-complementary
#4827B6 #B68F27 #4DB627
monochromatic
#201151 #341C84 #4827B6 #6543D7 #8F76E2

Accessibility & contrast

On white

9.37
#4827B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4827B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4827B6
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4827B6#FFFFFF#000000##FFFFFF
##4827B61.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#00516E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4827b6;
/* rgb */ color: rgb(72, 39, 182);
/* oklch */ color: oklch(41.9% 0.206 283.6);
Tailwind
colors: {
  custom: {
    50: '#8966cd',
    500: '#4827b6',
    950: '#000000',
  },
}
SCSS
$custom: #4827b6;
$custom-light: #8966cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4827b6",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 182
  },
  "hsl": {
    "h": 253.846,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41917,
    "c": 0.20641,
    "h": 283.6
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#4827B6
secondary
#B4C970
accent
#E840C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4827B6

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

Preview Lab → · Contrast checker → · Palette generator →

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