#48288A#48288A

#48288A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.153 H 292.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#48288A
RGBrgb(72, 40, 138)
HSLhsl(260, 55%, 35%)
HSVhsv(260, 71%, 54%)
CMYKcmyk(47.8%, 71%, 0%, 45.9%)
CIE-LABlab(25.95, 38.46, -49.37)
CIE-LCHlch(25.95, 62.58, 307.92°)
OKLaboklab(37.85% 0.0586 -0.1414)
OKLCHoklch(37.85% 0.153 292.5)
XYZxyz(8.0175, 4.7300, 24.5304)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48288A #6A8A28
analogous
#28398A #48288A #79288A
triadic
#48288A #8A4828 #288A48
tetradic
#48288A #8A2839 #6A8A28 #288A79
square
#48288A #8A2839 #6A8A28 #288A79
split-complementary
#48288A #8A7928 #398A28
monochromatic
#160C2B #2F1A5B #48288A #6136B9 #825DD0

Accessibility & contrast

On white

10.79
#48288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#48288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48288A
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48288A#FFFFFF#000000##FFFFFF
##48288A1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#344156
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #48288a;
/* rgb */ color: rgb(72, 40, 138);
/* oklch */ color: oklch(37.9% 0.153 292.5);
Tailwind
colors: {
  custom: {
    50: '#8165ad',
    500: '#48288a',
    950: '#000000',
  },
}
SCSS
$custom: #48288a;
$custom-light: #8165ad;
$custom-dark: #000000;
JSON
{
  "hex": "#48288a",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 259.592,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37854,
    "c": 0.15308,
    "h": 292.5
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#48288A
secondary
#97B559
accent
#DE49AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #48288A

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

Preview Lab → · Contrast checker → · Palette generator →

#48288A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva