#48196A#48196A

#48196A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.134 H 306.9°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#48196A
RGBrgb(72, 25, 106)
HSLhsl(275, 62%, 26%)
HSVhsv(275, 76%, 42%)
CMYKcmyk(32.1%, 76.4%, 0%, 58.4%)
CIE-LABlab(20.49, 37.50, -37.88)
CIE-LCHlch(20.49, 53.30, 314.72°)
OKLaboklab(33.13% 0.0807 -0.1076)
OKLCHoklch(33.13% 0.134 306.9)
XYZxyz(5.6211, 3.1137, 13.9377)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48196A #3B6A19
analogous
#1F196A #48196A #6A1963
triadic
#48196A #6A4819 #196A48
tetradic
#48196A #6A1F19 #3B6A19 #19636A
square
#48196A #6A1F19 #3B6A19 #19636A
split-complementary
#48196A #636A19 #196A1F
monochromatic
#110619 #260D38 #48196A #6A259C #8B30CD

Accessibility & contrast

On white

12.94
#48196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#48196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48196A
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48196A#FFFFFF#000000##FFFFFF
##48196A1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#003268
Tritanopia (blue-blind)
#422C40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #48196a;
/* rgb */ color: rgb(72, 25, 106);
/* oklch */ color: oklch(33.1% 0.134 306.9);
Tailwind
colors: {
  custom: {
    50: '#7f5b95',
    500: '#48196a',
    950: '#000000',
  },
}
SCSS
$custom: #48196a;
$custom-light: #7f5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#48196a",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 274.815,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33132,
    "c": 0.13449,
    "h": 306.9
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#48196A
secondary
#68A03F
accent
#E54387
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48196A

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

Preview Lab → · Contrast checker → · Palette generator →

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