#48208D#48208D

#48208D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.166 H 293.2°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#48208D
RGBrgb(72, 32, 141)
HSLhsl(262, 63%, 34%)
HSVhsv(262, 77%, 55%)
CMYKcmyk(48.9%, 77.3%, 0%, 44.7%)
CIE-LABlab(24.75, 43.46, -53.21)
CIE-LCHlch(24.75, 68.70, 309.24°)
OKLaboklab(37.08% 0.0655 -0.1526)
OKLCHoklch(37.08% 0.166 293.2)
XYZxyz(7.9954, 4.3336, 25.6093)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48208D #658D20
analogous
#202F8D #48208D #7F208D
triadic
#48208D #8D4820 #208D48
tetradic
#48208D #8D202F #658D20 #208D7F
square
#48208D #8D202F #658D20 #208D7F
split-complementary
#48208D #8D7F20 #2F8D20
monochromatic
#150929 #2F155B #48208D #612BBF #8250D7

Accessibility & contrast

On white

11.25
#48208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#48208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48208D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48208D#FFFFFF#000000##FFFFFF
##48208D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#333E55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #48208d;
/* rgb */ color: rgb(72, 32, 141);
/* oklch */ color: oklch(37.1% 0.166 293.2);
Tailwind
colors: {
  custom: {
    50: '#8260af',
    500: '#48208d',
    950: '#000000',
  },
}
SCSS
$custom: #48208d;
$custom-light: #8260af;
$custom-dark: #000000;
JSON
{
  "hex": "#48208d",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 262.018,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37082,
    "c": 0.16609,
    "h": 293.2
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#48208D
secondary
#93BA4E
accent
#E642AA
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48208D

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

Preview Lab → · Contrast checker → · Palette generator →

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