#48166B#48166B

#48166B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.139 H 306.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#48166B
RGBrgb(72, 22, 107)
HSLhsl(275, 66%, 25%)
HSVhsv(275, 79%, 42%)
CMYKcmyk(32.7%, 79.4%, 0%, 58%)
CIE-LABlab(20.10, 39.12, -39.17)
CIE-LCHlch(20.10, 55.36, 314.96°)
OKLaboklab(32.88% 0.0837 -0.1113)
OKLCHoklch(32.88% 0.139 306.9)
XYZxyz(5.6127, 3.0131, 14.1930)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48166B #396B16
analogous
#1D166B #48166B #6B1663
triadic
#48166B #6B4816 #166B48
tetradic
#48166B #6B1D16 #396B16 #16636B
square
#48166B #6B1D16 #396B16 #16636B
split-complementary
#48166B #636B16 #166B1D
monochromatic
#110519 #260C38 #48166B #6A209E #8C2BD1

Accessibility & contrast

On white

13.10
#48166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48166B
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48166B#FFFFFF#000000##FFFFFF
##48166B1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48166b;
/* rgb */ color: rgb(72, 22, 107);
/* oklch */ color: oklch(32.9% 0.139 306.9);
Tailwind
colors: {
  custom: {
    50: '#7f5996',
    500: '#48166b',
    950: '#000000',
  },
}
SCSS
$custom: #48166b;
$custom-light: #7f5996;
$custom-dark: #000000;
JSON
{
  "hex": "#48166b",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 275.294,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32878,
    "c": 0.13927,
    "h": 306.9
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#48166B
secondary
#65A13B
accent
#E93F85
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48166B

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

Preview Lab → · Contrast checker → · Palette generator →

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