#48288B#48288B

#48288B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.154 H 292.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#48288B
RGBrgb(72, 40, 139)
HSLhsl(259, 55%, 35%)
HSVhsv(259, 71%, 55%)
CMYKcmyk(48.2%, 71.2%, 0%, 45.5%)
CIE-LABlab(26.04, 38.75, -49.85)
CIE-LCHlch(26.04, 63.14, 307.86°)
OKLaboklab(37.94% 0.0584 -0.1428)
OKLCHoklch(37.94% 0.154 292.3)
XYZxyz(8.0902, 4.7591, 24.9134)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48288B #6B8B28
analogous
#28398B #48288B #79288B
triadic
#48288B #8B4828 #288B48
tetradic
#48288B #8B2839 #6B8B28 #288B79
square
#48288B #8B2839 #6B8B28 #288B79
split-complementary
#48288B #8B7928 #398B28
monochromatic
#170D2C #2F1A5B #48288B #6136BB #825DD0

Accessibility & contrast

On white

10.76
#48288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48288B
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48288B#FFFFFF#000000##FFFFFF
##48288B1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#334156
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48288b;
/* rgb */ color: rgb(72, 40, 139);
/* oklch */ color: oklch(37.9% 0.154 292.3);
Tailwind
colors: {
  custom: {
    50: '#8265ae',
    500: '#48288b',
    950: '#000000',
  },
}
SCSS
$custom: #48288b;
$custom-light: #8265ae;
$custom-dark: #000000;
JSON
{
  "hex": "#48288b",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 259.394,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37942,
    "c": 0.15432,
    "h": 292.3
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#48288B
secondary
#98B659
accent
#DF49AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #48288B

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

Preview Lab → · Contrast checker → · Palette generator →

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