#48248A#48248A

#48248A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.158 H 293.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#48248A
RGBrgb(72, 36, 138)
HSLhsl(261, 59%, 34%)
HSVhsv(261, 74%, 54%)
CMYKcmyk(47.8%, 73.9%, 0%, 45.9%)
CIE-LABlab(25.18, 40.60, -50.62)
CIE-LCHlch(25.18, 64.90, 308.73°)
OKLaboklab(37.31% 0.0626 -0.1451)
OKLCHoklch(37.31% 0.158 293.3)
XYZxyz(7.8895, 4.4742, 24.4877)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48248A #668A24
analogous
#24338A #48248A #7B248A
triadic
#48248A #8A4824 #248A48
tetradic
#48248A #8A2433 #668A24 #248A7B
square
#48248A #8A2433 #668A24 #248A7B
split-complementary
#48248A #8A7B24 #338A24
monochromatic
#150B29 #2F1759 #48248A #6131BB #8256D3

Accessibility & contrast

On white

11.08
#48248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#48248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48248A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48248A#FFFFFF#000000##FFFFFF
##48248A1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#343E54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48248a;
/* rgb */ color: rgb(72, 36, 138);
/* oklch */ color: oklch(37.3% 0.158 293.3);
Tailwind
colors: {
  custom: {
    50: '#8262ad',
    500: '#48248a',
    950: '#000000',
  },
}
SCSS
$custom: #48248a;
$custom-light: #8262ad;
$custom-dark: #000000;
JSON
{
  "hex": "#48248a",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 261.176,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37306,
    "c": 0.15801,
    "h": 293.3
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#48248A
secondary
#94B753
accent
#E246AB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #48248A

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

Preview Lab → · Contrast checker → · Palette generator →

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