#48106A#48106A

#48106A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.145 H 308.2°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#48106A
RGBrgb(72, 16, 106)
HSLhsl(277, 74%, 24%)
HSVhsv(277, 85%, 42%)
CMYKcmyk(32.1%, 84.9%, 0%, 58.4%)
CIE-LABlab(19.18, 41.28, -40.01)
CIE-LCHlch(19.18, 57.49, 315.89°)
OKLaboklab(32.21% 0.0894 -0.1138)
OKLCHoklch(32.21% 0.145 308.2)
XYZxyz(5.4587, 2.7890, 13.8836)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48106A #326A10
analogous
#1B106A #48106A #6A105F
triadic
#48106A #6A4810 #106A48
tetradic
#48106A #6A1B10 #326A10 #105F6A
square
#48106A #6A1B10 #326A10 #105F6A
split-complementary
#48106A #5F6A10 #106A1B
monochromatic
#12041B #240835 #48106A #6C189F #9020D4

Accessibility & contrast

On white

13.48
#48106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#48106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48106A
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48106A#FFFFFF#000000##FFFFFF
##48106A1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#42283E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #48106a;
/* rgb */ color: rgb(72, 16, 106);
/* oklch */ color: oklch(32.2% 0.145 308.2);
Tailwind
colors: {
  custom: {
    50: '#7f5695',
    500: '#48106a',
    950: '#000000',
  },
}
SCSS
$custom: #48106a;
$custom-light: #7f5695;
$custom-dark: #000000;
JSON
{
  "hex": "#48106a",
  "rgb": {
    "r": 72,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 277.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32207,
    "c": 0.14468,
    "h": 308.2
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#48106A
secondary
#5DA234
accent
#F0377D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #48106A

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

Preview Lab → · Contrast checker → · Palette generator →

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