#48196B#48196B

#48196B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.136 H 306.4°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#48196B
RGBrgb(72, 25, 107)
HSLhsl(274, 62%, 26%)
HSVhsv(274, 77%, 42%)
CMYKcmyk(32.7%, 76.6%, 0%, 58%)
CIE-LABlab(20.58, 37.76, -38.39)
CIE-LCHlch(20.58, 53.85, 314.52°)
OKLaboklab(33.22% 0.0806 -0.1091)
OKLCHoklch(33.22% 0.136 306.4)
XYZxyz(5.6734, 3.1346, 14.2132)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48196B #3C6B19
analogous
#1F196B #48196B #6B1965
triadic
#48196B #6B4819 #196B48
tetradic
#48196B #6B1F19 #3C6B19 #19656B
square
#48196B #6B1F19 #3C6B19 #19656B
split-complementary
#48196B #656B19 #196B1F
monochromatic
#110619 #270D39 #48196B #69259D #8B30CE

Accessibility & contrast

On white

12.91
#48196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#48196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48196B
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48196B#FFFFFF#000000##FFFFFF
##48196B1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#422C40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #48196b;
/* rgb */ color: rgb(72, 25, 107);
/* oklch */ color: oklch(33.2% 0.136 306.4);
Tailwind
colors: {
  custom: {
    50: '#7f5b96',
    500: '#48196b',
    950: '#000000',
  },
}
SCSS
$custom: #48196b;
$custom-light: #7f5b96;
$custom-dark: #000000;
JSON
{
  "hex": "#48196b",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 274.39,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33216,
    "c": 0.13561,
    "h": 306.4
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#48196B
secondary
#69A13F
accent
#E54388
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48196B

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

Preview Lab → · Contrast checker → · Palette generator →

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