#48176A#48176A

#48176A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.137 H 307.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#48176A
RGBrgb(72, 23, 106)
HSLhsl(275, 64%, 25%)
HSVhsv(275, 78%, 42%)
CMYKcmyk(32.1%, 78.3%, 0%, 58.4%)
CIE-LABlab(20.17, 38.43, -38.40)
CIE-LCHlch(20.17, 54.33, 315.02°)
OKLaboklab(32.9% 0.0829 -0.1091)
OKLCHoklch(32.9% 0.137 307.2)
XYZxyz(5.5798, 3.0312, 13.9240)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48176A #396A17
analogous
#1F176A #48176A #6A1762
triadic
#48176A #6A4817 #176A48
tetradic
#48176A #6A1F17 #396A17 #17626A
square
#48176A #6A1F17 #396A17 #17626A
split-complementary
#48176A #626A17 #176A1F
monochromatic
#110519 #260C38 #48176A #6A229C #8C2DCF

Accessibility & contrast

On white

13.07
#48176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#48176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48176A
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48176A#FFFFFF#000000##FFFFFF
##48176A1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#422B3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #48176a;
/* rgb */ color: rgb(72, 23, 106);
/* oklch */ color: oklch(32.9% 0.137 307.2);
Tailwind
colors: {
  custom: {
    50: '#7f5a95',
    500: '#48176a',
    950: '#000000',
  },
}
SCSS
$custom: #48176a;
$custom-light: #7f5a95;
$custom-dark: #000000;
JSON
{
  "hex": "#48176a",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 275.422,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32902,
    "c": 0.137,
    "h": 307.2
  },
  "luminance": 0.03031
}

Semantic roles & 50–950 ramp

primary
#48176A
secondary
#65A03D
accent
#E74085
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48176A

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

Preview Lab → · Contrast checker → · Palette generator →

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