#48219E#48219E

#48219E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.185 H 288.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#48219E
RGBrgb(72, 33, 158)
HSLhsl(259, 65%, 37%)
HSVhsv(259, 79%, 62%)
CMYKcmyk(54.4%, 79.1%, 0%, 38%)
CIE-LABlab(26.54, 47.73, -60.72)
CIE-LCHlch(26.54, 77.23, 308.17°)
OKLaboklab(38.84% 0.0597 -0.1746)
OKLCHoklch(38.84% 0.185 288.9)
XYZxyz(9.3861, 4.9336, 32.7988)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48219E #779E21
analogous
#21399E #48219E #87219E
triadic
#48219E #9E4821 #219E48
tetradic
#48219E #9E2139 #779E21 #219E87
square
#48219E #9E2139 #779E21 #219E87
split-complementary
#48219E #9E8721 #399E21
monochromatic
#1A0C39 #31166B #48219E #5F2CD1 #855CDD

Accessibility & contrast

On white

10.57
#48219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#48219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48219E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48219E#FFFFFF#000000##FFFFFF
##48219E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#26455F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #48219e;
/* rgb */ color: rgb(72, 33, 158);
/* oklch */ color: oklch(38.8% 0.185 288.9);
Tailwind
colors: {
  custom: {
    50: '#8562bc',
    500: '#48219e',
    950: '#000000',
  },
}
SCSS
$custom: #48219e;
$custom-light: #8562bc;
$custom-dark: #000000;
JSON
{
  "hex": "#48219e",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 258.72,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38838,
    "c": 0.18456,
    "h": 288.9
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#48219E
secondary
#A1C159
accent
#E83FB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48219E

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

Preview Lab → · Contrast checker → · Palette generator →

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