#48198C#48198C

#48198C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.172 H 294.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#48198C
RGBrgb(72, 25, 140)
HSLhsl(265, 70%, 32%)
HSVhsv(265, 82%, 55%)
CMYKcmyk(48.6%, 82.1%, 0%, 45.1%)
CIE-LABlab(23.56, 46.32, -54.53)
CIE-LCHlch(23.56, 71.55, 310.35°)
OKLaboklab(36.23% 0.0714 -0.1564)
OKLCHoklch(36.23% 0.172 294.5)
XYZxyz(7.7524, 3.9662, 25.1629)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48198C #5D8C19
analogous
#19238C #48198C #82198C
triadic
#48198C #8C4819 #198C48
tetradic
#48198C #8C1923 #5D8C19 #198C82
square
#48198C #8C1923 #5D8C19 #198C82
split-complementary
#48198C #8C8219 #238C19
monochromatic
#130624 #2D1058 #48198C #6322C0 #8242DD

Accessibility & contrast

On white

11.71
#48198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#48198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48198C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48198C#FFFFFF#000000##FFFFFF
##48198C1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#343A53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #48198c;
/* rgb */ color: rgb(72, 25, 140);
/* oklch */ color: oklch(36.2% 0.172 294.5);
Tailwind
colors: {
  custom: {
    50: '#835daf',
    500: '#48198c',
    950: '#000000',
  },
}
SCSS
$custom: #48198c;
$custom-light: #835daf;
$custom-dark: #000000;
JSON
{
  "hex": "#48198c",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 264.522,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36226,
    "c": 0.17196,
    "h": 294.5
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#48198C
secondary
#8CBE43
accent
#ED3BA4
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #48198C

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

Preview Lab → · Contrast checker → · Palette generator →

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