#48219B#48219B

#48219B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.181 H 289.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#48219B
RGBrgb(72, 33, 155)
HSLhsl(259, 65%, 37%)
HSVhsv(259, 79%, 61%)
CMYKcmyk(53.5%, 78.7%, 0%, 39.2%)
CIE-LABlab(26.25, 46.89, -59.37)
CIE-LCHlch(26.25, 75.65, 308.30°)
OKLaboklab(38.54% 0.0606 -0.1707)
OKLCHoklch(38.54% 0.181 289.5)
XYZxyz(9.1310, 4.8316, 31.4555)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48219B #749B21
analogous
#21379B #48219B #85219B
triadic
#48219B #9B4821 #219B48
tetradic
#48219B #9B2137 #749B21 #219B85
square
#48219B #9B2137 #749B21 #219B85
split-complementary
#48219B #9B8521 #379B21
monochromatic
#190C36 #311669 #48219B #5F2CCD #845ADC

Accessibility & contrast

On white

10.68
#48219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#48219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48219B
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48219B#FFFFFF#000000##FFFFFF
##48219B1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48219b;
/* rgb */ color: rgb(72, 33, 155);
/* oklch */ color: oklch(38.5% 0.181 289.5);
Tailwind
colors: {
  custom: {
    50: '#8461ba',
    500: '#48219b',
    950: '#000000',
  },
}
SCSS
$custom: #48219b;
$custom-light: #8461ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48219b",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 259.18,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38543,
    "c": 0.18114,
    "h": 289.5
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #48219B

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

Preview Lab → · Contrast checker → · Palette generator →

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