#48198F#48198F

#48198F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.175 H 293.7°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#48198F
RGBrgb(72, 25, 143)
HSLhsl(264, 70%, 33%)
HSVhsv(264, 83%, 56%)
CMYKcmyk(49.7%, 82.5%, 0%, 43.9%)
CIE-LABlab(23.86, 47.12, -55.91)
CIE-LCHlch(23.86, 73.12, 310.12°)
OKLaboklab(36.52% 0.0704 -0.1605)
OKLCHoklch(36.52% 0.175 293.7)
XYZxyz(7.9767, 4.0559, 26.3439)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48198F #608F19
analogous
#19258F #48198F #83198F
triadic
#48198F #8F4819 #198F48
tetradic
#48198F #8F1925 #608F19 #198F83
square
#48198F #8F1925 #608F19 #198F83
split-complementary
#48198F #8F8319 #258F19
monochromatic
#140727 #2E105B #48198F #6222C3 #8244DE

Accessibility & contrast

On white

11.59
#48198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#48198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48198F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48198F#FFFFFF#000000##FFFFFF
##48198F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#323C55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #48198f;
/* rgb */ color: rgb(72, 25, 143);
/* oklch */ color: oklch(36.5% 0.175 293.7);
Tailwind
colors: {
  custom: {
    50: '#835db1',
    500: '#48198f',
    950: '#000000',
  },
}
SCSS
$custom: #48198f;
$custom-light: #835db1;
$custom-dark: #000000;
JSON
{
  "hex": "#48198f",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 263.898,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36521,
    "c": 0.17523,
    "h": 293.7
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

primary
#48198F
secondary
#8EBF44
accent
#ED3BA6
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #48198F

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

Preview Lab → · Contrast checker → · Palette generator →

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