#48156B#48156B

#48156B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.140 H 307.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#48156B
RGBrgb(72, 21, 107)
HSLhsl(276, 67%, 25%)
HSVhsv(276, 80%, 42%)
CMYKcmyk(32.7%, 80.4%, 0%, 58%)
CIE-LABlab(19.95, 39.55, -39.42)
CIE-LCHlch(19.95, 55.84, 315.10°)
OKLaboklab(32.77% 0.0846 -0.1121)
OKLCHoklch(32.77% 0.14 307.1)
XYZxyz(5.5939, 2.9757, 14.1867)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48156B #386B15
analogous
#1D156B #48156B #6B1563
triadic
#48156B #6B4815 #156B48
tetradic
#48156B #6B1D15 #386B15 #15636B
square
#48156B #6B1D15 #386B15 #15636B
split-complementary
#48156B #636B15 #156B1D
monochromatic
#11051A #260B38 #48156B #6A1F9E #8D29D1

Accessibility & contrast

On white

13.16
#48156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#48156B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48156B
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48156B#FFFFFF#000000##FFFFFF
##48156B1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48156b;
/* rgb */ color: rgb(72, 21, 107);
/* oklch */ color: oklch(32.8% 0.140 307.1);
Tailwind
colors: {
  custom: {
    50: '#7f5996',
    500: '#48156b',
    950: '#000000',
  },
}
SCSS
$custom: #48156b;
$custom-light: #7f5996;
$custom-dark: #000000;
JSON
{
  "hex": "#48156b",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 275.581,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32772,
    "c": 0.14043,
    "h": 307.1
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#48156B
secondary
#64A23A
accent
#EA3E84
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48156B

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

Preview Lab → · Contrast checker → · Palette generator →

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