#48176C#48176C

#48176C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.139 H 306.3°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#48176C
RGBrgb(72, 23, 108)
HSLhsl(275, 65%, 26%)
HSVhsv(275, 79%, 42%)
CMYKcmyk(33.3%, 78.7%, 0%, 57.6%)
CIE-LABlab(20.34, 38.92, -39.44)
CIE-LCHlch(20.34, 55.41, 314.63°)
OKLaboklab(33.07% 0.0824 -0.1121)
OKLCHoklch(33.07% 0.139 306.3)
XYZxyz(5.6851, 3.0733, 14.4782)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48176C #3B6C17
analogous
#1D176C #48176C #6C1765
triadic
#48176C #6C4817 #176C48
tetradic
#48176C #6C1D17 #3B6C17 #17656C
square
#48176C #6C1D17 #3B6C17 #17656C
split-complementary
#48176C #656C17 #176C1D
monochromatic
#110519 #260C3A #48176C #6A229E #8B2CD1

Accessibility & contrast

On white

13.01
#48176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48176C
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48176C#FFFFFF#000000##FFFFFF
##48176C1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#422C40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #48176c;
/* rgb */ color: rgb(72, 23, 108);
/* oklch */ color: oklch(33.1% 0.139 306.3);
Tailwind
colors: {
  custom: {
    50: '#7f5a97',
    500: '#48176c',
    950: '#000000',
  },
}
SCSS
$custom: #48176c;
$custom-light: #7f5a97;
$custom-dark: #000000;
JSON
{
  "hex": "#48176c",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 274.588,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33072,
    "c": 0.13916,
    "h": 306.3
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#48176C
secondary
#68A23D
accent
#E84087
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48176C

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

Preview Lab → · Contrast checker → · Palette generator →

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