#48288E#48288E

#48288E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.158 H 291.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#48288E
RGBrgb(72, 40, 142)
HSLhsl(259, 56%, 36%)
HSVhsv(259, 72%, 56%)
CMYKcmyk(49.3%, 71.8%, 0%, 44.3%)
CIE-LABlab(26.30, 39.62, -51.29)
CIE-LCHlch(26.30, 64.81, 307.69°)
OKLaboklab(38.21% 0.0579 -0.147)
OKLCHoklch(38.21% 0.158 291.5)
XYZxyz(8.3124, 4.8480, 26.0837)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48288E #6E8E28
analogous
#283B8E #48288E #7B288E
triadic
#48288E #8E4828 #288E48
tetradic
#48288E #8E283B #6E8E28 #288E7B
square
#48288E #8E283B #6E8E28 #288E7B
split-complementary
#48288E #8E7B28 #3B8E28
monochromatic
#180D2F #301B5E #48288E #6035BE #835FD2

Accessibility & contrast

On white

10.66
#48288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#48288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48288E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48288E#FFFFFF#000000##FFFFFF
##48288E1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#324258
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48288e;
/* rgb */ color: rgb(72, 40, 142);
/* oklch */ color: oklch(38.2% 0.158 291.5);
Tailwind
colors: {
  custom: {
    50: '#8265b0',
    500: '#48288e',
    950: '#000000',
  },
}
SCSS
$custom: #48288e;
$custom-light: #8265b0;
$custom-dark: #000000;
JSON
{
  "hex": "#48288e",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 258.824,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38208,
    "c": 0.15802,
    "h": 291.5
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#48288E
secondary
#9AB75B
accent
#DF48B0
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #48288E

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

Preview Lab → · Contrast checker → · Palette generator →

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