#48219A#48219A

#48219A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.180 H 289.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#48219A
RGBrgb(72, 33, 154)
HSLhsl(259, 65%, 37%)
HSVhsv(259, 79%, 60%)
CMYKcmyk(53.2%, 78.6%, 0%, 39.6%)
CIE-LABlab(26.15, 46.61, -58.92)
CIE-LCHlch(26.15, 75.12, 308.35°)
OKLaboklab(38.45% 0.0609 -0.1694)
OKLCHoklch(38.45% 0.18 289.8)
XYZxyz(9.0474, 4.7981, 31.0150)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48219A #739A21
analogous
#21379A #48219A #85219A
triadic
#48219A #9A4821 #219A48
tetradic
#48219A #9A2137 #739A21 #219A85
square
#48219A #9A2137 #739A21 #219A85
split-complementary
#48219A #9A8521 #379A21
monochromatic
#190B35 #301668 #48219A #602CCC #845ADC

Accessibility & contrast

On white

10.72
#48219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#48219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48219A
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48219A#FFFFFF#000000##FFFFFF
##48219A1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#29435D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48219a;
/* rgb */ color: rgb(72, 33, 154);
/* oklch */ color: oklch(38.4% 0.180 289.8);
Tailwind
colors: {
  custom: {
    50: '#8461b9',
    500: '#48219a',
    950: '#000000',
  },
}
SCSS
$custom: #48219a;
$custom-light: #8461b9;
$custom-dark: #000000;
JSON
{
  "hex": "#48219a",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 259.339,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38445,
    "c": 0.18,
    "h": 289.8
  },
  "luminance": 0.04799
}

Semantic roles & 50–950 ramp

primary
#48219A
secondary
#9EC057
accent
#E840B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #48219A

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

Preview Lab → · Contrast checker → · Palette generator →

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