#321037#321037

#321037 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.081 H 322.4°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#321037
RGBrgb(50, 16, 55)
HSLhsl(292, 55%, 14%)
HSVhsv(292, 71%, 22%)
CMYKcmyk(9.1%, 70.9%, 0%, 78.4%)
CIE-LABlab(11.45, 23.98, -17.77)
CIE-LCHlch(11.45, 29.85, 323.45°)
OKLaboklab(24.68% 0.064 -0.0494)
OKLCHoklch(24.68% 0.081 322.4)
XYZxyz(2.1902, 1.3246, 3.7540)
Luminance0.0132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321037 #153710
analogous
#1F1037 #321037 #371029
triadic
#321037 #373210 #103732
tetradic
#321037 #371F10 #153710 #102937
square
#321037 #371F10 #153710 #102937
split-complementary
#321037 #293710 #10371F
monochromatic
#160718 #160718 #321037 #5D1E66 #882C96

Accessibility & contrast

On white

16.60
#321037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#321037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321037
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321037#FFFFFF#000000##FFFFFF
##3210371.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081C38
Deuteranopia (green-blind)
#152036
Tritanopia (blue-blind)
#331621
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #321037;
/* rgb */ color: rgb(50, 16, 55);
/* oklch */ color: oklch(24.7% 0.081 322.4);
Tailwind
colors: {
  custom: {
    50: '#6b516e',
    500: '#321037',
    950: '#000000',
  },
}
SCSS
$custom: #321037;
$custom-light: #6b516e;
$custom-dark: #000000;
JSON
{
  "hex": "#321037",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 292.308,
    "s": 54.93,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24683,
    "c": 0.08088,
    "h": 322.4
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#321037
secondary
#3A7132
accent
#DE4A5D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #321037

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

Preview Lab → · Contrast checker → · Palette generator →

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