#48209B#48209B

#48209B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.182 H 289.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#48209B
RGBrgb(72, 32, 155)
HSLhsl(260, 66%, 37%)
HSVhsv(260, 79%, 61%)
CMYKcmyk(53.5%, 79.4%, 0%, 39.2%)
CIE-LABlab(26.09, 47.35, -59.63)
CIE-LCHlch(26.09, 76.14, 308.45°)
OKLaboklab(38.43% 0.0614 -0.1715)
OKLCHoklch(38.43% 0.182 289.7)
XYZxyz(9.1037, 4.7769, 31.4463)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48209B #739B20
analogous
#20369B #48209B #86209B
triadic
#48209B #9B4820 #209B48
tetradic
#48209B #9B2036 #739B20 #209B86
square
#48209B #9B2036 #739B20 #209B86
split-complementary
#48209B #9B8620 #369B20
monochromatic
#190B36 #301668 #48209B #602ACE #8459DD

Accessibility & contrast

On white

10.74
#48209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#48209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48209B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48209B#FFFFFF#000000##FFFFFF
##48209B1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#28435D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48209b;
/* rgb */ color: rgb(72, 32, 155);
/* oklch */ color: oklch(38.4% 0.182 289.7);
Tailwind
colors: {
  custom: {
    50: '#8561ba',
    500: '#48209b',
    950: '#000000',
  },
}
SCSS
$custom: #48209b;
$custom-light: #8561ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48209b",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 259.512,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38431,
    "c": 0.18211,
    "h": 289.7
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#48209B
secondary
#9EC156
accent
#E93FB2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #48209B

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

Preview Lab → · Contrast checker → · Palette generator →

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