#4828B5#4828B5

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

Color values

HEX#4828B5
RGBrgb(72, 40, 181)
HSLhsl(254, 64%, 43%)
HSVhsv(254, 78%, 71%)
CMYKcmyk(60.2%, 77.9%, 0%, 29%)
CIE-LABlab(29.99, 50.99, -68.90)
CIE-LCHlch(29.99, 85.72, 306.51°)
OKLaboklab(41.93% 0.0481 -0.1986)
OKLCHoklch(41.93% 0.204 283.6)
XYZxyz(11.7692, 6.2307, 44.2896)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4828B5 #95B528
analogous
#284EB5 #4828B5 #8E28B5
triadic
#4828B5 #B54828 #28B548
tetradic
#4828B5 #B5284E #95B528 #28B58E
square
#4828B5 #B5284E #95B528 #28B58E
split-complementary
#4828B5 #B58E28 #4EB528
monochromatic
#201251 #341D83 #4828B5 #6544D6 #8F77E1

Accessibility & contrast

On white

9.35
#4828B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4828B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4828B5
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4828B5#FFFFFF#000000##FFFFFF
##4828B51.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00516E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4828b5;
/* rgb */ color: rgb(72, 40, 181);
/* oklch */ color: oklch(41.9% 0.204 283.6);
Tailwind
colors: {
  custom: {
    50: '#8867cc',
    500: '#4828b5',
    950: '#000000',
  },
}
SCSS
$custom: #4828b5;
$custom-light: #8867cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4828b5",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 253.617,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.20436,
    "h": 283.6
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#4828B5
secondary
#B4C870
accent
#E741C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4828B5

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

Preview Lab → · Contrast checker → · Palette generator →

#4828B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva