#4828B2#4828B2

#4828B2 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.6% C 0.201 H 284.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#4828B2
RGBrgb(72, 40, 178)
HSLhsl(254, 63%, 43%)
HSVhsv(254, 78%, 70%)
CMYKcmyk(59.6%, 77.5%, 0%, 30.2%)
CIE-LABlab(29.69, 50.13, -67.61)
CIE-LCHlch(29.69, 84.16, 306.55°)
OKLaboklab(41.63% 0.049 -0.1948)
OKLCHoklch(41.63% 0.201 284.1)
XYZxyz(11.4647, 6.1089, 42.6859)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4828B2 #92B228
analogous
#284DB2 #4828B2 #8D28B2
triadic
#4828B2 #B24828 #28B248
tetradic
#4828B2 #B2284D #92B228 #28B28D
square
#4828B2 #B2284D #92B228 #28B28D
split-complementary
#4828B2 #B28D28 #4DB228
monochromatic
#20124E #341D80 #4828B2 #6443D5 #8D75E0

Accessibility & contrast

On white

9.45
#4828B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4828B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4828B2
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4828B2#FFFFFF#000000##FFFFFF
##4828B21.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4828b2;
/* rgb */ color: rgb(72, 40, 178);
/* oklch */ color: oklch(41.6% 0.201 284.1);
Tailwind
colors: {
  custom: {
    50: '#8866ca',
    500: '#4828b2',
    950: '#000000',
  },
}
SCSS
$custom: #4828b2;
$custom-light: #8866ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4828b2",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 253.913,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41629,
    "c": 0.20091,
    "h": 284.1
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#4828B2
secondary
#B3C76F
accent
#E641C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4828B2

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

Preview Lab → · Contrast checker → · Palette generator →

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