#48176B#48176B

#48176B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.138 H 306.8°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#48176B
RGBrgb(72, 23, 107)
HSLhsl(275, 65%, 25%)
HSVhsv(275, 79%, 42%)
CMYKcmyk(32.7%, 78.5%, 0%, 58%)
CIE-LABlab(20.25, 38.68, -38.92)
CIE-LCHlch(20.25, 54.87, 314.82°)
OKLaboklab(32.99% 0.0826 -0.1106)
OKLCHoklch(32.99% 0.138 306.8)
XYZxyz(5.6322, 3.0521, 14.1995)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48176B #3A6B17
analogous
#1E176B #48176B #6B1764
triadic
#48176B #6B4817 #176B48
tetradic
#48176B #6B1E17 #3A6B17 #17646B
square
#48176B #6B1E17 #3A6B17 #17646B
split-complementary
#48176B #646B17 #176B1E
monochromatic
#110519 #260C39 #48176B #6A229D #8C2DD0

Accessibility & contrast

On white

13.04
#48176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48176B
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48176B#FFFFFF#000000##FFFFFF
##48176B1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#422B40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #48176b;
/* rgb */ color: rgb(72, 23, 107);
/* oklch */ color: oklch(33.0% 0.138 306.8);
Tailwind
colors: {
  custom: {
    50: '#7f5a96',
    500: '#48176b',
    950: '#000000',
  },
}
SCSS
$custom: #48176b;
$custom-light: #7f5a96;
$custom-dark: #000000;
JSON
{
  "hex": "#48176b",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 275,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32987,
    "c": 0.13808,
    "h": 306.8
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#48176B
secondary
#67A13D
accent
#E84086
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48176B

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

Preview Lab → · Contrast checker → · Palette generator →

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