#320548#320548

#320548 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.115 H 310.8°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#320548
RGBrgb(50, 5, 72)
HSLhsl(280, 87%, 15%)
HSVhsv(280, 93%, 28%)
CMYKcmyk(30.6%, 93.1%, 0%, 71.8%)
CIE-LABlab(10.95, 33.29, -30.63)
CIE-LCHlch(10.95, 45.23, 317.38°)
OKLaboklab(24.76% 0.0751 -0.087)
OKLCHoklch(24.76% 0.115 310.8)
XYZxyz(2.5391, 1.2546, 6.2380)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320548 #1B4805
analogous
#110548 #320548 #48053C
triadic
#320548 #483205 #054832
tetradic
#320548 #481105 #1B4805 #053C48
square
#320548 #481105 #1B4805 #053C48
split-complementary
#320548 #3C4805 #054811
monochromatic
#14021D #14021D #320548 #5A0981 #810DBA

Accessibility & contrast

On white

16.79
#320548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#320548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320548
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320548#FFFFFF#000000##FFFFFF
##3205481.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#2F1728
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #320548;
/* rgb */ color: rgb(50, 5, 72);
/* oklch */ color: oklch(24.8% 0.115 310.8);
Tailwind
colors: {
  custom: {
    50: '#6d4c7b',
    500: '#320548',
    950: '#000000',
  },
}
SCSS
$custom: #320548;
$custom-light: #6d4c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#320548",
  "rgb": {
    "r": 50,
    "g": 5,
    "b": 72
  },
  "hsl": {
    "h": 280.299,
    "s": 87.013,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24762,
    "c": 0.11488,
    "h": 310.8
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#320548
secondary
#438821
accent
#FD2B70
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #320548

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

Preview Lab → · Contrast checker → · Palette generator →

#320548 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva