#48176F#48176F

#48176F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.142 H 305.0°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#48176F
RGBrgb(72, 23, 111)
HSLhsl(273, 66%, 26%)
HSVhsv(273, 79%, 44%)
CMYKcmyk(35.1%, 79.3%, 0%, 56.5%)
CIE-LABlab(20.59, 39.67, -40.97)
CIE-LCHlch(20.59, 57.03, 314.08°)
OKLaboklab(33.33% 0.0817 -0.1166)
OKLCHoklch(33.33% 0.142 305)
XYZxyz(5.8475, 3.1382, 15.3335)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48176F #3E6F17
analogous
#1C176F #48176F #6F176A
triadic
#48176F #6F4817 #176F48
tetradic
#48176F #6F1C17 #3E6F17 #176A6F
square
#48176F #6F1C17 #3E6F17 #176A6F
split-complementary
#48176F #6A6F17 #176F1C
monochromatic
#100519 #270C3C #48176F #6922A2 #8A2DD3

Accessibility & contrast

On white

12.90
#48176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#48176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48176F
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48176F#FFFFFF#000000##FFFFFF
##48176F1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#412D42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #48176f;
/* rgb */ color: rgb(72, 23, 111);
/* oklch */ color: oklch(33.3% 0.142 305.0);
Tailwind
colors: {
  custom: {
    50: '#7f5a99',
    500: '#48176f',
    950: '#000000',
  },
}
SCSS
$custom: #48176f;
$custom-light: #7f5a99;
$custom-dark: #000000;
JSON
{
  "hex": "#48176f",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 273.409,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33331,
    "c": 0.14242,
    "h": 305
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#48176F
secondary
#6BA53D
accent
#E93F8A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #48176F

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

Preview Lab → · Contrast checker → · Palette generator →

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