#48248B#48248B

#48248B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.159 H 293.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#48248B
RGBrgb(72, 36, 139)
HSLhsl(261, 59%, 34%)
HSVhsv(261, 74%, 55%)
CMYKcmyk(48.2%, 74.1%, 0%, 45.5%)
CIE-LABlab(25.27, 40.89, -51.10)
CIE-LCHlch(25.27, 65.45, 308.67°)
OKLaboklab(37.4% 0.0624 -0.1465)
OKLCHoklch(37.4% 0.159 293.1)
XYZxyz(7.9623, 4.5033, 24.8708)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48248B #678B24
analogous
#24348B #48248B #7C248B
triadic
#48248B #8B4824 #248B48
tetradic
#48248B #8B2434 #678B24 #248B7C
square
#48248B #8B2434 #678B24 #248B7C
split-complementary
#48248B #8B7C24 #348B24
monochromatic
#160B2A #2F175A #48248B #6131BC #8256D3

Accessibility & contrast

On white

11.05
#48248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#48248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48248B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48248B#FFFFFF#000000##FFFFFF
##48248B1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#343F55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48248b;
/* rgb */ color: rgb(72, 36, 139);
/* oklch */ color: oklch(37.4% 0.159 293.1);
Tailwind
colors: {
  custom: {
    50: '#8262ae',
    500: '#48248b',
    950: '#000000',
  },
}
SCSS
$custom: #48248b;
$custom-light: #8262ae;
$custom-dark: #000000;
JSON
{
  "hex": "#48248b",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 260.971,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37396,
    "c": 0.15921,
    "h": 293.1
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #48248B

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

Preview Lab → · Contrast checker → · Palette generator →

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