#48288C#48288C

#48288C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.156 H 292.0°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#48288C
RGBrgb(72, 40, 140)
HSLhsl(259, 56%, 35%)
HSVhsv(259, 71%, 55%)
CMYKcmyk(48.6%, 71.4%, 0%, 45.1%)
CIE-LABlab(26.12, 39.04, -50.33)
CIE-LCHlch(26.12, 63.70, 307.80°)
OKLaboklab(38.03% 0.0583 -0.1442)
OKLCHoklch(38.03% 0.156 292)
XYZxyz(8.1636, 4.7885, 25.3000)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48288C #6C8C28
analogous
#283A8C #48288C #7A288C
triadic
#48288C #8C4828 #288C48
tetradic
#48288C #8C283A #6C8C28 #288C7A
square
#48288C #8C283A #6C8C28 #288C7A
split-complementary
#48288C #8C7A28 #3A8C28
monochromatic
#170D2D #301A5C #48288C #6036BC #825ED1

Accessibility & contrast

On white

10.73
#48288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#48288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48288C
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48288C#FFFFFF#000000##FFFFFF
##48288C1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#334157
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48288c;
/* rgb */ color: rgb(72, 40, 140);
/* oklch */ color: oklch(38.0% 0.156 292.0);
Tailwind
colors: {
  custom: {
    50: '#8265ae',
    500: '#48288c',
    950: '#000000',
  },
}
SCSS
$custom: #48288c;
$custom-light: #8265ae;
$custom-dark: #000000;
JSON
{
  "hex": "#48288c",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 259.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3803,
    "c": 0.15556,
    "h": 292
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#48288C
secondary
#99B65A
accent
#DF49AF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #48288C

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

Preview Lab → · Contrast checker → · Palette generator →

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