#4828CA#4828CA

#4828CA is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.228 H 280.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4828CA
RGBrgb(72, 40, 202)
HSLhsl(252, 67%, 47%)
HSVhsv(252, 80%, 79%)
CMYKcmyk(64.4%, 80.2%, 0%, 20.8%)
CIE-LABlab(32.16, 57.01, -77.68)
CIE-LCHlch(32.16, 96.35, 306.27°)
OKLaboklab(44.09% 0.0419 -0.2242)
OKLCHoklch(44.09% 0.228 280.6)
XYZxyz(14.0886, 7.1585, 56.5050)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4828CA #AACA28
analogous
#2859CA #4828CA #9928CA
triadic
#4828CA #CA4828 #28CA48
tetradic
#4828CA #CA2859 #AACA28 #28CA99
square
#4828CA #CA2859 #AACA28 #28CA99
split-complementary
#4828CA #CA9928 #59CA28
monochromatic
#241464 #361E97 #4828CA #6E52DD #9985E7

Accessibility & contrast

On white

8.63
#4828CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4828CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4828CA
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4828CA#FFFFFF#000000##FFFFFF
##4828CA1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4828ca;
/* rgb */ color: rgb(72, 40, 202);
/* oklch */ color: oklch(44.1% 0.228 280.6);
Tailwind
colors: {
  custom: {
    50: '#8c68dc',
    500: '#4828ca',
    950: '#000000',
  },
}
SCSS
$custom: #4828ca;
$custom-light: #8c68dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4828ca",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 202
  },
  "hsl": {
    "h": 251.852,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4409,
    "c": 0.22809,
    "h": 280.6
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#4828CA
secondary
#C0D07E
accent
#EA3EC8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4828CA

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

Preview Lab → · Contrast checker → · Palette generator →

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