#48136C#48136C

#48136C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.144 H 306.9°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#48136C
RGBrgb(72, 19, 108)
HSLhsl(276, 70%, 25%)
HSVhsv(276, 82%, 42%)
CMYKcmyk(33.3%, 82.4%, 0%, 57.6%)
CIE-LABlab(19.75, 40.62, -40.39)
CIE-LCHlch(19.75, 57.28, 315.16°)
OKLaboklab(32.66% 0.0862 -0.1149)
OKLCHoklch(32.66% 0.144 306.9)
XYZxyz(5.6115, 2.9262, 14.4536)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48136C #376C13
analogous
#1B136C #48136C #6C1364
triadic
#48136C #6C4813 #136C48
tetradic
#48136C #6C1B13 #376C13 #13646C
square
#48136C #6C1B13 #376C13 #13646C
split-complementary
#48136C #646C13 #136C1B
monochromatic
#11051A #250A38 #48136C #6B1CA0 #8D25D4

Accessibility & contrast

On white

13.25
#48136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#48136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48136C
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48136C#FFFFFF#000000##FFFFFF
##48136C1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#422A3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #48136c;
/* rgb */ color: rgb(72, 19, 108);
/* oklch */ color: oklch(32.7% 0.144 306.9);
Tailwind
colors: {
  custom: {
    50: '#7f5897',
    500: '#48136c',
    950: '#000000',
  },
}
SCSS
$custom: #48136c;
$custom-light: #7f5897;
$custom-dark: #000000;
JSON
{
  "hex": "#48136c",
  "rgb": {
    "r": 72,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 275.73,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32658,
    "c": 0.14367,
    "h": 306.9
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#48136C
secondary
#63A338
accent
#ED3B83
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #48136C

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

Preview Lab → · Contrast checker → · Palette generator →

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