#48328E#48328E

#48328E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.145 H 289.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#48328E
RGBrgb(72, 50, 142)
HSLhsl(254, 48%, 38%)
HSVhsv(254, 65%, 56%)
CMYKcmyk(49.3%, 64.8%, 0%, 44.3%)
CIE-LABlab(28.41, 33.86, -47.84)
CIE-LCHlch(28.41, 58.61, 305.29°)
OKLaboklab(39.73% 0.0474 -0.137)
OKLCHoklch(39.73% 0.145 289.1)
XYZxyz(8.6942, 5.6116, 26.2110)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48328E #788E32
analogous
#324A8E #48328E #76328E
triadic
#48328E #8E4832 #328E48
tetradic
#48328E #8E324A #788E32 #328E76
square
#48328E #8E324A #788E32 #328E76
split-complementary
#48328E #8E7632 #4A8E32
monochromatic
#1A1233 #312261 #48328E #5F42BB #856ECC

Accessibility & contrast

On white

9.89
#48328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#48328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48328E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48328E#FFFFFF#000000##FFFFFF
##48328E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#31485B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #48328e;
/* rgb */ color: rgb(72, 50, 142);
/* oklch */ color: oklch(39.7% 0.145 289.1);
Tailwind
colors: {
  custom: {
    50: '#816bb0',
    500: '#48328e',
    950: '#000000',
  },
}
SCSS
$custom: #48328e;
$custom-light: #816bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#48328e",
  "rgb": {
    "r": 72,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 254.348,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.14492,
    "h": 289.1
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#48328E
secondary
#A2B468
accent
#D850B7
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #48328E

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

Preview Lab → · Contrast checker → · Palette generator →

#48328E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva