#48288D#48288D

#48288D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.157 H 291.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#48288D
RGBrgb(72, 40, 141)
HSLhsl(259, 56%, 35%)
HSVhsv(259, 72%, 55%)
CMYKcmyk(48.9%, 71.6%, 0%, 44.7%)
CIE-LABlab(26.21, 39.33, -50.81)
CIE-LCHlch(26.21, 64.25, 307.74°)
OKLaboklab(38.12% 0.0581 -0.1456)
OKLCHoklch(38.12% 0.157 291.7)
XYZxyz(8.2376, 4.8181, 25.6901)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48288D #6D8D28
analogous
#283A8D #48288D #7A288D
triadic
#48288D #8D4828 #288D48
tetradic
#48288D #8D283A #6D8D28 #288D7A
square
#48288D #8D283A #6D8D28 #288D7A
split-complementary
#48288D #8D7A28 #3A8D28
monochromatic
#170D2E #301A5D #48288D #6036BD #835ED1

Accessibility & contrast

On white

10.69
#48288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48288D
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48288D#FFFFFF#000000##FFFFFF
##48288D1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#324257
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48288d;
/* rgb */ color: rgb(72, 40, 141);
/* oklch */ color: oklch(38.1% 0.157 291.7);
Tailwind
colors: {
  custom: {
    50: '#8265af',
    500: '#48288d',
    950: '#000000',
  },
}
SCSS
$custom: #48288d;
$custom-light: #8265af;
$custom-dark: #000000;
JSON
{
  "hex": "#48288d",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 259.01,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38119,
    "c": 0.1568,
    "h": 291.7
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#48288D
secondary
#99B75A
accent
#DF49AF
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #48288D

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

Preview Lab → · Contrast checker → · Palette generator →

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