#48198D#48198D

#48198D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.173 H 294.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#48198D
RGBrgb(72, 25, 141)
HSLhsl(264, 70%, 33%)
HSVhsv(264, 82%, 55%)
CMYKcmyk(48.9%, 82.3%, 0%, 44.7%)
CIE-LABlab(23.66, 46.59, -54.99)
CIE-LCHlch(23.66, 72.07, 310.27°)
OKLaboklab(36.32% 0.071 -0.1578)
OKLCHoklch(36.32% 0.173 294.2)
XYZxyz(7.8265, 3.9958, 25.5530)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48198D #5E8D19
analogous
#19248D #48198D #82198D
triadic
#48198D #8D4819 #198D48
tetradic
#48198D #8D1924 #5E8D19 #198D82
square
#48198D #8D1924 #5E8D19 #198D82
split-complementary
#48198D #8D8219 #248D19
monochromatic
#130725 #2D1059 #48198D #6322C1 #8243DE

Accessibility & contrast

On white

11.67
#48198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#48198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48198D
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48198D#FFFFFF#000000##FFFFFF
##48198D1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#333B54
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #48198d;
/* rgb */ color: rgb(72, 25, 141);
/* oklch */ color: oklch(36.3% 0.173 294.2);
Tailwind
colors: {
  custom: {
    50: '#835daf',
    500: '#48198d',
    950: '#000000',
  },
}
SCSS
$custom: #48198d;
$custom-light: #835daf;
$custom-dark: #000000;
JSON
{
  "hex": "#48198d",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 264.31,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36324,
    "c": 0.17305,
    "h": 294.2
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#48198D
secondary
#8DBF43
accent
#ED3BA5
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #48198D

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

Preview Lab → · Contrast checker → · Palette generator →

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