#48196F#48196F

#48196F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.140 H 304.7°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#48196F
RGBrgb(72, 25, 111)
HSLhsl(273, 63%, 27%)
HSVhsv(273, 77%, 44%)
CMYKcmyk(35.1%, 77.5%, 0%, 56.5%)
CIE-LABlab(20.91, 38.77, -40.45)
CIE-LCHlch(20.91, 56.03, 313.78°)
OKLaboklab(33.56% 0.0797 -0.1151)
OKLCHoklch(33.56% 0.14 304.7)
XYZxyz(5.8887, 3.2207, 15.3473)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48196F #406F19
analogous
#1D196F #48196F #6F196B
triadic
#48196F #6F4819 #196F48
tetradic
#48196F #6F1D19 #406F19 #196B6F
square
#48196F #6F1D19 #406F19 #196B6F
split-complementary
#48196F #6B6F19 #196F1D
monochromatic
#100619 #280E3D #48196F #6824A1 #8932D1

Accessibility & contrast

On white

12.77
#48196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#48196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48196F
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48196F#FFFFFF#000000##FFFFFF
##48196F1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#412E43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #48196f;
/* rgb */ color: rgb(72, 25, 111);
/* oklch */ color: oklch(33.6% 0.140 304.7);
Tailwind
colors: {
  custom: {
    50: '#7f5b99',
    500: '#48196f',
    950: '#000000',
  },
}
SCSS
$custom: #48196f;
$custom-light: #7f5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#48196f",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 272.791,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33555,
    "c": 0.14004,
    "h": 304.7
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#48196F
secondary
#6DA43F
accent
#E6428C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #48196F

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

Preview Lab → · Contrast checker → · Palette generator →

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