#4827B2#4827B2

#4827B2 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.5% C 0.202 H 284.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#4827B2
RGBrgb(72, 39, 178)
HSLhsl(254, 64%, 43%)
HSVhsv(254, 78%, 70%)
CMYKcmyk(59.6%, 78.1%, 0%, 30.2%)
CIE-LABlab(29.52, 50.60, -67.88)
CIE-LCHlch(29.52, 84.67, 306.70°)
OKLaboklab(41.51% 0.0496 -0.1956)
OKLCHoklch(41.51% 0.202 284.2)
XYZxyz(11.4314, 6.0424, 42.6748)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4827B2 #91B227
analogous
#274BB2 #4827B2 #8E27B2
triadic
#4827B2 #B24827 #27B248
tetradic
#4827B2 #B2274B #91B227 #27B28E
square
#4827B2 #B2274B #91B227 #27B28E
split-complementary
#4827B2 #B28E27 #4BB227
monochromatic
#1F114E #341C80 #4827B2 #6441D5 #8D73E0

Accessibility & contrast

On white

9.51
#4827B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4827B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4827B2
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4827B2#FFFFFF#000000##FFFFFF
##4827B21.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#01506C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4827b2;
/* rgb */ color: rgb(72, 39, 178);
/* oklch */ color: oklch(41.5% 0.202 284.2);
Tailwind
colors: {
  custom: {
    50: '#8866ca',
    500: '#4827b2',
    950: '#000000',
  },
}
SCSS
$custom: #4827b2;
$custom-light: #8866ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4827b2",
  "rgb": {
    "r": 72,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 254.245,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41513,
    "c": 0.20183,
    "h": 284.2
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#4827B2
secondary
#B2C86D
accent
#E741C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4827B2

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

Preview Lab → · Contrast checker → · Palette generator →

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