#48207B#48207B

#48207B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.145 H 298.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#48207B
RGBrgb(72, 32, 123)
HSLhsl(266, 59%, 30%)
HSVhsv(266, 74%, 48%)
CMYKcmyk(41.5%, 74%, 0%, 51.8%)
CIE-LABlab(23.14, 38.50, -44.52)
CIE-LCHlch(23.14, 58.85, 310.85°)
OKLaboklab(35.45% 0.0699 -0.1271)
OKLCHoklch(35.45% 0.145 298.8)
XYZxyz(6.7632, 3.8407, 19.1201)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48207B #537B20
analogous
#20257B #48207B #76207B
triadic
#48207B #7B4820 #207B48
tetradic
#48207B #7B2025 #537B20 #207B76
square
#48207B #7B2025 #537B20 #207B76
split-complementary
#48207B #7B7620 #257B20
monochromatic
#0F071A #2C134A #48207B #642DAC #8246CF

Accessibility & contrast

On white

11.88
#48207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#48207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48207B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48207B#FFFFFF#000000##FFFFFF
##48207B1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#3C374B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #48207b;
/* rgb */ color: rgb(72, 32, 123);
/* oklch */ color: oklch(35.5% 0.145 298.8);
Tailwind
colors: {
  custom: {
    50: '#805fa2',
    500: '#48207b',
    950: '#000000',
  },
}
SCSS
$custom: #48207b;
$custom-light: #805fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#48207b",
  "rgb": {
    "r": 72,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 266.374,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35451,
    "c": 0.14506,
    "h": 298.8
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#48207B
secondary
#82AE49
accent
#E2469D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48207B

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

Preview Lab → · Contrast checker → · Palette generator →

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