#48228D#48228D

#48228D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.164 H 292.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#48228D
RGBrgb(72, 34, 141)
HSLhsl(261, 61%, 34%)
HSVhsv(261, 76%, 55%)
CMYKcmyk(48.9%, 75.9%, 0%, 44.7%)
CIE-LABlab(25.09, 42.47, -52.64)
CIE-LCHlch(25.09, 67.64, 308.90°)
OKLaboklab(37.33% 0.0637 -0.151)
OKLCHoklch(37.33% 0.164 292.9)
XYZxyz(8.0509, 4.4446, 25.6278)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48228D #678D22
analogous
#22328D #48228D #7E228D
triadic
#48228D #8D4822 #228D48
tetradic
#48228D #8D2232 #678D22 #228D7E
square
#48228D #8D2232 #678D22 #228D7E
split-complementary
#48228D #8D7E22 #328D22
monochromatic
#160A2A #2F165C #48228D #612EBE #8254D6

Accessibility & contrast

On white

11.12
#48228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#48228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48228D
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48228D#FFFFFF#000000##FFFFFF
##48228D1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#333F56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #48228d;
/* rgb */ color: rgb(72, 34, 141);
/* oklch */ color: oklch(37.3% 0.164 292.9);
Tailwind
colors: {
  custom: {
    50: '#8261af',
    500: '#48228d',
    950: '#000000',
  },
}
SCSS
$custom: #48228d;
$custom-light: #8261af;
$custom-dark: #000000;
JSON
{
  "hex": "#48228d",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 261.308,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37325,
    "c": 0.16388,
    "h": 292.9
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#48228D
secondary
#94B951
accent
#E444AB
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48228D

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

Preview Lab → · Contrast checker → · Palette generator →

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