#48196C#48196C

#48196C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.137 H 306.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#48196C
RGBrgb(72, 25, 108)
HSLhsl(274, 62%, 26%)
HSVhsv(274, 77%, 42%)
CMYKcmyk(33.3%, 76.9%, 0%, 57.6%)
CIE-LABlab(20.66, 38.01, -38.91)
CIE-LCHlch(20.66, 54.39, 314.33°)
OKLaboklab(33.3% 0.0804 -0.1106)
OKLCHoklch(33.3% 0.137 306)
XYZxyz(5.7263, 3.1557, 14.4919)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48196C #3D6C19
analogous
#1E196C #48196C #6C1966
triadic
#48196C #6C4819 #196C48
tetradic
#48196C #6C1E19 #3D6C19 #19666C
square
#48196C #6C1E19 #3D6C19 #19666C
split-complementary
#48196C #666C19 #196C1E
monochromatic
#110619 #270D3A #48196C #69259E #8A30CF

Accessibility & contrast

On white

12.87
#48196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48196C
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48196C#FFFFFF#000000##FFFFFF
##48196C1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#422D41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #48196c;
/* rgb */ color: rgb(72, 25, 108);
/* oklch */ color: oklch(33.3% 0.137 306.0);
Tailwind
colors: {
  custom: {
    50: '#7f5b97',
    500: '#48196c',
    950: '#000000',
  },
}
SCSS
$custom: #48196c;
$custom-light: #7f5b97;
$custom-dark: #000000;
JSON
{
  "hex": "#48196c",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 273.976,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.333,
    "c": 0.13671,
    "h": 306
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#48196C
secondary
#6AA13F
accent
#E54289
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #48196C

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

Preview Lab → · Contrast checker → · Palette generator →

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