#48219C#48219C

#48219C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.182 H 289.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#48219C
RGBrgb(72, 33, 156)
HSLhsl(259, 65%, 37%)
HSVhsv(259, 79%, 61%)
CMYKcmyk(53.8%, 78.8%, 0%, 38.8%)
CIE-LABlab(26.35, 47.17, -59.82)
CIE-LCHlch(26.35, 76.18, 308.26°)
OKLaboklab(38.64% 0.0603 -0.172)
OKLCHoklch(38.64% 0.182 289.3)
XYZxyz(9.2153, 4.8653, 31.8996)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48219C #759C21
analogous
#21389C #48219C #85219C
triadic
#48219C #9C4821 #219C48
tetradic
#48219C #9C2138 #759C21 #219C85
square
#48219C #9C2138 #759C21 #219C85
split-complementary
#48219C #9C8521 #389C21
monochromatic
#190C37 #311669 #48219C #5F2CCF #845BDC

Accessibility & contrast

On white

10.64
#48219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48219C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48219C#FFFFFF#000000##FFFFFF
##48219C1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#28445E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48219c;
/* rgb */ color: rgb(72, 33, 156);
/* oklch */ color: oklch(38.6% 0.182 289.3);
Tailwind
colors: {
  custom: {
    50: '#8561ba',
    500: '#48219c',
    950: '#000000',
  },
}
SCSS
$custom: #48219c;
$custom-light: #8561ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48219c",
  "rgb": {
    "r": 72,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 259.024,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38641,
    "c": 0.18229,
    "h": 289.3
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#48219C
secondary
#A0C158
accent
#E840B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48219C

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

Preview Lab → · Contrast checker → · Palette generator →

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