#4828A8#4828A8

#4828A8 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.189 H 285.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4828A8
RGBrgb(72, 40, 168)
HSLhsl(255, 62%, 41%)
HSVhsv(255, 76%, 66%)
CMYKcmyk(57.1%, 76.2%, 0%, 34.1%)
CIE-LABlab(28.70, 47.22, -63.23)
CIE-LCHlch(28.70, 78.92, 306.75°)
OKLaboklab(40.64% 0.0517 -0.1821)
OKLCHoklch(40.64% 0.189 285.9)
XYZxyz(10.4970, 5.7218, 37.5895)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4828A8 #88A828
analogous
#2848A8 #4828A8 #8828A8
triadic
#4828A8 #A84828 #28A848
tetradic
#4828A8 #A82848 #88A828 #28A888
square
#4828A8 #A82848 #88A828 #28A888
split-complementary
#4828A8 #A88828 #48A828
monochromatic
#1E1045 #331C77 #4828A8 #623DD1 #8A6EDC

Accessibility & contrast

On white

9.79
#4828A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4828A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4828A8
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4828A8#FFFFFF#000000##FFFFFF
##4828A81.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#194C66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4828a8;
/* rgb */ color: rgb(72, 40, 168);
/* oklch */ color: oklch(40.6% 0.189 285.9);
Tailwind
colors: {
  custom: {
    50: '#8666c3',
    500: '#4828a8',
    950: '#000000',
  },
}
SCSS
$custom: #4828a8;
$custom-light: #8666c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4828a8",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 255,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40641,
    "c": 0.18927,
    "h": 285.9
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#4828A8
secondary
#ADC369
accent
#E543BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4828A8

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

Preview Lab → · Contrast checker → · Palette generator →

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