#320638#320638

#320638 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.098 H 322.6°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#320638
RGBrgb(50, 6, 56)
HSLhsl(293, 81%, 12%)
HSVhsv(293, 89%, 22%)
CMYKcmyk(10.7%, 89.3%, 0%, 78%)
CIE-LABlab(9.75, 29.18, -21.20)
CIE-LCHlch(9.75, 36.07, 324.00°)
OKLaboklab(23.49% 0.0775 -0.0593)
OKLCHoklch(23.49% 0.098 322.6)
XYZxyz(2.0943, 1.0940, 3.8415)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320638 #0C3806
analogous
#190638 #320638 #380625
triadic
#320638 #383206 #063832
tetradic
#320638 #381906 #0C3806 #062538
square
#320638 #381906 #0C3806 #062538
split-complementary
#320638 #253806 #063819
monochromatic
#19031C #19031C #320638 #630C6F #9512A7

Accessibility & contrast

On white

17.23
#320638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#320638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320638
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320638#FFFFFF#000000##FFFFFF
##3206381.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#0E1D37
Tritanopia (blue-blind)
#33101F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320638;
/* rgb */ color: rgb(50, 6, 56);
/* oklch */ color: oklch(23.5% 0.098 322.6);
Tailwind
colors: {
  custom: {
    50: '#6c4c6f',
    500: '#320638',
    950: '#000000',
  },
}
SCSS
$custom: #320638;
$custom-light: #6c4c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#320638",
  "rgb": {
    "r": 50,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 292.8,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23489,
    "c": 0.0976,
    "h": 322.6
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#320638
secondary
#2C7821
accent
#F73149
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #320638

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

Preview Lab → · Contrast checker → · Palette generator →

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