#48156C#48156C

#48156C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.141 H 306.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#48156C
RGBrgb(72, 21, 108)
HSLhsl(275, 67%, 25%)
HSVhsv(275, 81%, 42%)
CMYKcmyk(33.3%, 80.6%, 0%, 57.6%)
CIE-LABlab(20.03, 39.79, -39.93)
CIE-LCHlch(20.03, 56.37, 314.90°)
OKLaboklab(32.86% 0.0844 -0.1136)
OKLCHoklch(32.86% 0.141 306.6)
XYZxyz(5.6468, 2.9968, 14.4654)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48156C #396C15
analogous
#1C156C #48156C #6C1565
triadic
#48156C #6C4815 #156C48
tetradic
#48156C #6C1C15 #396C15 #15656C
square
#48156C #6C1C15 #396C15 #15656C
split-complementary
#48156C #656C15 #156C1C
monochromatic
#11051A #260B39 #48156C #6A1F9F #8C29D2

Accessibility & contrast

On white

13.13
#48156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48156C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48156C#FFFFFF#000000##FFFFFF
##48156C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#422B40
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #48156c;
/* rgb */ color: rgb(72, 21, 108);
/* oklch */ color: oklch(32.9% 0.141 306.6);
Tailwind
colors: {
  custom: {
    50: '#7f5997',
    500: '#48156c',
    950: '#000000',
  },
}
SCSS
$custom: #48156c;
$custom-light: #7f5997;
$custom-dark: #000000;
JSON
{
  "hex": "#48156c",
  "rgb": {
    "r": 72,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 275.172,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32858,
    "c": 0.14149,
    "h": 306.6
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#48156C
secondary
#65A33A
accent
#EA3D85
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48156C

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

Preview Lab → · Contrast checker → · Palette generator →

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