#48166A#48166A

#48166A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.138 H 307.4°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#48166A
RGBrgb(72, 22, 106)
HSLhsl(276, 66%, 25%)
HSVhsv(276, 79%, 42%)
CMYKcmyk(32.1%, 79.2%, 0%, 58.4%)
CIE-LABlab(20.01, 38.87, -38.66)
CIE-LCHlch(20.01, 54.82, 315.16°)
OKLaboklab(32.79% 0.0839 -0.1098)
OKLCHoklch(32.79% 0.138 307.4)
XYZxyz(5.5604, 2.9922, 13.9175)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48166A #386A16
analogous
#1E166A #48166A #6A1662
triadic
#48166A #6A4816 #166A48
tetradic
#48166A #6A1E16 #386A16 #16626A
square
#48166A #6A1E16 #386A16 #16626A
split-complementary
#48166A #626A16 #166A1E
monochromatic
#110519 #260B37 #48166A #6A219D #8D2BCF

Accessibility & contrast

On white

13.14
#48166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#48166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48166A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48166A#FFFFFF#000000##FFFFFF
##48166A1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48166a;
/* rgb */ color: rgb(72, 22, 106);
/* oklch */ color: oklch(32.8% 0.138 307.4);
Tailwind
colors: {
  custom: {
    50: '#7f5995',
    500: '#48166a',
    950: '#000000',
  },
}
SCSS
$custom: #48166a;
$custom-light: #7f5995;
$custom-dark: #000000;
JSON
{
  "hex": "#48166a",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 275.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.1382,
    "h": 307.4
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#48166A
secondary
#64A03B
accent
#E93F84
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48166A

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

Preview Lab → · Contrast checker → · Palette generator →

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