#48166D#48166D

#48166D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.141 H 306.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#48166D
RGBrgb(72, 22, 109)
HSLhsl(274, 66%, 26%)
HSVhsv(274, 80%, 43%)
CMYKcmyk(33.9%, 79.8%, 0%, 57.3%)
CIE-LABlab(20.27, 39.61, -40.20)
CIE-LCHlch(20.27, 56.44, 314.58°)
OKLaboklab(33.05% 0.0832 -0.1144)
OKLCHoklch(33.05% 0.141 306)
XYZxyz(5.7191, 3.0557, 14.7536)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48166D #3B6D16
analogous
#1D166D #48166D #6D1666
triadic
#48166D #6D4816 #166D48
tetradic
#48166D #6D1D16 #3B6D16 #16666D
square
#48166D #6D1D16 #3B6D16 #16666D
split-complementary
#48166D #666D16 #166D1D
monochromatic
#110519 #260C3A #48166D #6A20A0 #8B2BD3

Accessibility & contrast

On white

13.03
#48166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#48166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48166D
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48166D#FFFFFF#000000##FFFFFF
##48166D1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48166d;
/* rgb */ color: rgb(72, 22, 109);
/* oklch */ color: oklch(33.1% 0.141 306.0);
Tailwind
colors: {
  custom: {
    50: '#7f5998',
    500: '#48166d',
    950: '#000000',
  },
}
SCSS
$custom: #48166d;
$custom-light: #7f5998;
$custom-dark: #000000;
JSON
{
  "hex": "#48166d",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 274.483,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3305,
    "c": 0.14141,
    "h": 306
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#48166D
secondary
#68A33C
accent
#E93E87
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #48166D

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

Preview Lab → · Contrast checker → · Palette generator →

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