#48208B#48208B

#48208B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.164 H 293.8°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#48208B
RGBrgb(72, 32, 139)
HSLhsl(262, 63%, 34%)
HSVhsv(262, 77%, 55%)
CMYKcmyk(48.2%, 77%, 0%, 45.5%)
CIE-LABlab(24.56, 42.90, -52.26)
CIE-LCHlch(24.56, 67.62, 309.38°)
OKLaboklab(36.9% 0.066 -0.1499)
OKLCHoklch(36.9% 0.164 293.8)
XYZxyz(7.8479, 4.2746, 24.8327)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48208B #638B20
analogous
#202D8B #48208B #7D208B
triadic
#48208B #8B4820 #208B48
tetradic
#48208B #8B202D #638B20 #208B7D
square
#48208B #8B202D #638B20 #208B7D
split-complementary
#48208B #8B7D20 #2D8B20
monochromatic
#140928 #2E1559 #48208B #622BBD #824FD6

Accessibility & contrast

On white

11.32
#48208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#48208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48208B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48208B#FFFFFF#000000##FFFFFF
##48208B1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#343D54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #48208b;
/* rgb */ color: rgb(72, 32, 139);
/* oklch */ color: oklch(36.9% 0.164 293.8);
Tailwind
colors: {
  custom: {
    50: '#8260ae',
    500: '#48208b',
    950: '#000000',
  },
}
SCSS
$custom: #48208b;
$custom-light: #8260ae;
$custom-dark: #000000;
JSON
{
  "hex": "#48208b",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 262.43,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36895,
    "c": 0.16378,
    "h": 293.8
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#48208B
secondary
#91BA4D
accent
#E642A9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48208B

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

Preview Lab → · Contrast checker → · Palette generator →

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