#320131#320131

#320131 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.100 H 329.2°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#320131
RGBrgb(50, 1, 49)
HSLhsl(301, 96%, 10%)
HSVhsv(301, 98%, 20%)
CMYKcmyk(0%, 98%, 2%, 80.4%)
CIE-LABlab(8.32, 30.40, -18.37)
CIE-LCHlch(8.32, 35.52, 328.86°)
OKLaboklab(22.31% 0.0856 -0.051)
OKLCHoklch(22.31% 0.1 329.2)
XYZxyz(1.8806, 0.9217, 2.9840)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320131 #013202
analogous
#1A0132 #320131 #320119
triadic
#320131 #313201 #013132
tetradic
#320131 #321A01 #013202 #011932
square
#320131 #321A01 #013202 #011932
split-complementary
#320131 #193201 #01321A
monochromatic
#1E011D #1E011D #320131 #6E026C #AA03A7

Accessibility & contrast

On white

17.73
#320131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#320131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320131
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320131#FFFFFF#000000##FFFFFF
##3201311.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#0F1A30
Tritanopia (blue-blind)
#340819
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #320131;
/* rgb */ color: rgb(50, 1, 49);
/* oklch */ color: oklch(22.3% 0.100 329.2);
Tailwind
colors: {
  custom: {
    50: '#6c4869',
    500: '#320131',
    950: '#000000',
  },
}
SCSS
$custom: #320131;
$custom-light: #6c4869;
$custom-dark: #000000;
JSON
{
  "hex": "#320131",
  "rgb": {
    "r": 50,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 301.224,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.2231,
    "c": 0.0996,
    "h": 329.2
  },
  "luminance": 0.00922
}

Semantic roles & 50–950 ramp

primary
#320131
secondary
#177719
accent
#FF2D29
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #320131

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

Preview Lab → · Contrast checker → · Palette generator →

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