#48176D#48176D

#48176D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.140 H 305.9°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#48176D
RGBrgb(72, 23, 109)
HSLhsl(274, 65%, 26%)
HSVhsv(274, 79%, 43%)
CMYKcmyk(33.9%, 78.9%, 0%, 57.3%)
CIE-LABlab(20.42, 39.17, -39.95)
CIE-LCHlch(20.42, 55.95, 314.44°)
OKLaboklab(33.16% 0.0822 -0.1136)
OKLCHoklch(33.16% 0.14 305.9)
XYZxyz(5.7386, 3.0947, 14.7601)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48176D #3C6D17
analogous
#1D176D #48176D #6D1767
triadic
#48176D #6D4817 #176D48
tetradic
#48176D #6D1D17 #3C6D17 #17676D
square
#48176D #6D1D17 #3C6D17 #17676D
split-complementary
#48176D #676D17 #176D1D
monochromatic
#110519 #270C3A #48176D #6922A0 #8B2CD2

Accessibility & contrast

On white

12.97
#48176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#48176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48176D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48176D#FFFFFF#000000##FFFFFF
##48176D1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#412C41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #48176d;
/* rgb */ color: rgb(72, 23, 109);
/* oklch */ color: oklch(33.2% 0.140 305.9);
Tailwind
colors: {
  custom: {
    50: '#7f5a97',
    500: '#48176d',
    950: '#000000',
  },
}
SCSS
$custom: #48176d;
$custom-light: #7f5a97;
$custom-dark: #000000;
JSON
{
  "hex": "#48176d",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 274.186,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33158,
    "c": 0.14025,
    "h": 305.9
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#48176D
secondary
#69A33D
accent
#E84088
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #48176D

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

Preview Lab → · Contrast checker → · Palette generator →

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