#4828B3#4828B3

#4828B3 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.7% C 0.202 H 283.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4828B3
RGBrgb(72, 40, 179)
HSLhsl(254, 63%, 43%)
HSVhsv(254, 78%, 70%)
CMYKcmyk(59.8%, 77.7%, 0%, 29.8%)
CIE-LABlab(29.79, 50.42, -68.04)
CIE-LCHlch(29.79, 84.68, 306.54°)
OKLaboklab(41.73% 0.0487 -0.1961)
OKLCHoklch(41.73% 0.202 283.9)
XYZxyz(11.5655, 6.1492, 43.2166)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4828B3 #93B328
analogous
#284DB3 #4828B3 #8D28B3
triadic
#4828B3 #B34828 #28B348
tetradic
#4828B3 #B3284D #93B328 #28B38D
square
#4828B3 #B3284D #93B328 #28B38D
split-complementary
#4828B3 #B38D28 #4DB328
monochromatic
#20124F #341D81 #4828B3 #6543D5 #8E75E0

Accessibility & contrast

On white

9.42
#4828B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4828B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4828B3
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4828B3#FFFFFF#000000##FFFFFF
##4828B31.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#00506D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4828b3;
/* rgb */ color: rgb(72, 40, 179);
/* oklch */ color: oklch(41.7% 0.202 283.9);
Tailwind
colors: {
  custom: {
    50: '#8866cb',
    500: '#4828b3',
    950: '#000000',
  },
}
SCSS
$custom: #4828b3;
$custom-light: #8866cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4828b3",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 253.813,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41729,
    "c": 0.20206,
    "h": 283.9
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4828B3

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

Preview Lab → · Contrast checker → · Palette generator →

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