#48156A#48156A

#48156A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.139 H 307.5°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#48156A
RGBrgb(72, 21, 106)
HSLhsl(276, 67%, 25%)
HSVhsv(276, 80%, 42%)
CMYKcmyk(32.1%, 80.2%, 0%, 58.4%)
CIE-LABlab(19.86, 39.31, -38.90)
CIE-LCHlch(19.86, 55.30, 315.30°)
OKLaboklab(32.69% 0.0849 -0.1105)
OKLCHoklch(32.69% 0.139 307.5)
XYZxyz(5.5416, 2.9547, 13.9113)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48156A #376A15
analogous
#1E156A #48156A #6A1562
triadic
#48156A #6A4815 #156A48
tetradic
#48156A #6A1E15 #376A15 #15626A
square
#48156A #6A1E15 #376A15 #15626A
split-complementary
#48156A #626A15 #156A1E
monochromatic
#11051A #250B37 #48156A #6B1F9D #8D29D0

Accessibility & contrast

On white

13.20
#48156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#48156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48156A
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48156A#FFFFFF#000000##FFFFFF
##48156A1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#422A3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #48156a;
/* rgb */ color: rgb(72, 21, 106);
/* oklch */ color: oklch(32.7% 0.139 307.5);
Tailwind
colors: {
  custom: {
    50: '#7f5995',
    500: '#48156a',
    950: '#000000',
  },
}
SCSS
$custom: #48156a;
$custom-light: #7f5995;
$custom-dark: #000000;
JSON
{
  "hex": "#48156a",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 276,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32686,
    "c": 0.13937,
    "h": 307.5
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#48156A
secondary
#63A13A
accent
#EA3E83
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48156A

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

Preview Lab → · Contrast checker → · Palette generator →

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