#320231#320231

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

Color values

HEX#320231
RGBrgb(50, 2, 49)
HSLhsl(301, 92%, 10%)
HSVhsv(301, 96%, 20%)
CMYKcmyk(0%, 96%, 2%, 80.4%)
CIE-LABlab(8.51, 29.85, -18.06)
CIE-LCHlch(8.51, 34.89, 328.82°)
OKLaboklab(22.44% 0.084 -0.0501)
OKLCHoklch(22.44% 0.098 329.2)
XYZxyz(1.8915, 0.9434, 2.9876)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320231 #023203
analogous
#1B0232 #320231 #320219
triadic
#320231 #313202 #023132
tetradic
#320231 #321B02 #023203 #021932
square
#320231 #321B02 #023203 #021932
split-complementary
#320231 #193202 #02321B
monochromatic
#1D011D #1D011D #320231 #6D046B #A807A4

Accessibility & contrast

On white

17.67
#320231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#320231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320231
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320231#FFFFFF#000000##FFFFFF
##3202311.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#101B30
Tritanopia (blue-blind)
#340919
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #320231;
/* rgb */ color: rgb(50, 2, 49);
/* oklch */ color: oklch(22.4% 0.098 329.2);
Tailwind
colors: {
  custom: {
    50: '#6c4969',
    500: '#320231',
    950: '#000000',
  },
}
SCSS
$custom: #320231;
$custom-light: #6c4969;
$custom-dark: #000000;
JSON
{
  "hex": "#320231",
  "rgb": {
    "r": 50,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 301.25,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.22444,
    "c": 0.0978,
    "h": 329.2
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#320231
secondary
#19761B
accent
#FF2D29
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #320231

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

Preview Lab → · Contrast checker → · Palette generator →

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