#48248D#48248D

#48248D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.162 H 292.5°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#48248D
RGBrgb(72, 36, 141)
HSLhsl(261, 59%, 35%)
HSVhsv(261, 74%, 55%)
CMYKcmyk(48.9%, 74.5%, 0%, 44.7%)
CIE-LABlab(25.45, 41.46, -52.05)
CIE-LCHlch(25.45, 66.54, 308.54°)
OKLaboklab(37.58% 0.0619 -0.1493)
OKLCHoklch(37.58% 0.162 292.5)
XYZxyz(8.1097, 4.5623, 25.6475)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48248D #698D24
analogous
#24358D #48248D #7C248D
triadic
#48248D #8D4824 #248D48
tetradic
#48248D #8D2435 #698D24 #248D7C
square
#48248D #8D2435 #698D24 #248D7C
split-complementary
#48248D #8D7C24 #358D24
monochromatic
#160B2B #2F185C #48248D #6130BE #8257D4

Accessibility & contrast

On white

10.98
#48248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#48248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48248D
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48248D#FFFFFF#000000##FFFFFF
##48248D1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#324056
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48248d;
/* rgb */ color: rgb(72, 36, 141);
/* oklch */ color: oklch(37.6% 0.162 292.5);
Tailwind
colors: {
  custom: {
    50: '#8262af',
    500: '#48248d',
    950: '#000000',
  },
}
SCSS
$custom: #48248d;
$custom-light: #8262af;
$custom-dark: #000000;
JSON
{
  "hex": "#48248d",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 260.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37579,
    "c": 0.1616,
    "h": 292.5
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#48248D
secondary
#96B854
accent
#E345AD
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #48248D

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

Preview Lab → · Contrast checker → · Palette generator →

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