#48217A#48217A

#48217A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.143 H 298.9°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#48217A
RGBrgb(72, 33, 122)
HSLhsl(266, 57%, 30%)
HSVhsv(266, 73%, 48%)
CMYKcmyk(41%, 73%, 0%, 52.2%)
CIE-LABlab(23.24, 37.70, -43.72)
CIE-LCHlch(23.24, 57.73, 310.78°)
OKLaboklab(35.5% 0.069 -0.1248)
OKLCHoklch(35.5% 0.143 298.9)
XYZxyz(6.7283, 3.8705, 18.8012)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48217A #537A21
analogous
#21277A #48217A #74217A
triadic
#48217A #7A4821 #217A48
tetradic
#48217A #7A2127 #537A21 #217A74
square
#48217A #7A2127 #537A21 #217A74
split-complementary
#48217A #7A7421 #277A21
monochromatic
#0F071A #2C144A #48217A #642EAA #8248CD

Accessibility & contrast

On white

11.84
#48217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#48217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48217A
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48217A#FFFFFF#000000##FFFFFF
##48217A1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48217a;
/* rgb */ color: rgb(72, 33, 122);
/* oklch */ color: oklch(35.5% 0.143 298.9);
Tailwind
colors: {
  custom: {
    50: '#8060a1',
    500: '#48217a',
    950: '#000000',
  },
}
SCSS
$custom: #48217a;
$custom-light: #8060a1;
$custom-dark: #000000;
JSON
{
  "hex": "#48217a",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 266.292,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35497,
    "c": 0.14258,
    "h": 298.9
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#48217A
secondary
#82AD4A
accent
#E1479D
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48217A

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

Preview Lab → · Contrast checker → · Palette generator →

#48217A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva