#48197B#48197B

#48197B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.153 H 300.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#48197B
RGBrgb(72, 25, 123)
HSLhsl(269, 66%, 29%)
HSVhsv(269, 80%, 48%)
CMYKcmyk(41.5%, 79.7%, 0%, 51.8%)
CIE-LABlab(21.96, 41.85, -46.45)
CIE-LCHlch(21.96, 62.52, 312.02°)
OKLaboklab(34.62% 0.0767 -0.1327)
OKLCHoklch(34.62% 0.153 300)
XYZxyz(6.5944, 3.5030, 19.0638)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48197B #4C7B19
analogous
#191B7B #48197B #79197B
triadic
#48197B #7B4819 #197B48
tetradic
#48197B #7B191B #4C7B19 #197B79
square
#48197B #7B191B #4C7B19 #197B79
split-complementary
#48197B #7B7919 #1B7B19
monochromatic
#0F0519 #2A0F48 #48197B #6623AE #8438D7

Accessibility & contrast

On white

12.35
#48197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#48197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48197B
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48197B#FFFFFF#000000##FFFFFF
##48197B1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#3C3349
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #48197b;
/* rgb */ color: rgb(72, 25, 123);
/* oklch */ color: oklch(34.6% 0.153 300.0);
Tailwind
colors: {
  custom: {
    50: '#815ba2',
    500: '#48197b',
    950: '#000000',
  },
}
SCSS
$custom: #48197b;
$custom-light: #815ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#48197b",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 268.776,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34617,
    "c": 0.15331,
    "h": 300
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#48197B
secondary
#7AAF40
accent
#E93F97
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #48197B

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

Preview Lab → · Contrast checker → · Palette generator →

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