#321137#321137

#321137 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.8% C 0.079 H 322.2°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#321137
RGBrgb(50, 17, 55)
HSLhsl(292, 53%, 14%)
HSVhsv(292, 69%, 22%)
CMYKcmyk(9.1%, 69.1%, 0%, 78.4%)
CIE-LABlab(11.65, 23.41, -17.44)
CIE-LCHlch(11.65, 29.19, 323.31°)
OKLaboklab(24.83% 0.0625 -0.0484)
OKLCHoklch(24.83% 0.079 322.2)
XYZxyz(2.2054, 1.3550, 3.7591)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321137 #163711
analogous
#1F1137 #321137 #371129
triadic
#321137 #373211 #113732
tetradic
#321137 #371F11 #163711 #112937
square
#321137 #371F11 #163711 #112937
split-complementary
#321137 #293711 #11371F
monochromatic
#150717 #150717 #321137 #5D1F66 #872E95

Accessibility & contrast

On white

16.52
#321137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#321137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321137
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321137#FFFFFF#000000##FFFFFF
##3211371.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1C38
Deuteranopia (green-blind)
#162036
Tritanopia (blue-blind)
#331722
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #321137;
/* rgb */ color: rgb(50, 17, 55);
/* oklch */ color: oklch(24.8% 0.079 322.2);
Tailwind
colors: {
  custom: {
    50: '#6b516e',
    500: '#321137',
    950: '#000000',
  },
}
SCSS
$custom: #321137;
$custom-light: #6b516e;
$custom-dark: #000000;
JSON
{
  "hex": "#321137",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 55
  },
  "hsl": {
    "h": 292.105,
    "s": 52.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24834,
    "c": 0.07907,
    "h": 322.2
  },
  "luminance": 0.01355
}

Semantic roles & 50–950 ramp

primary
#321137
secondary
#3C7034
accent
#DC4C5F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #321137

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

Preview Lab → · Contrast checker → · Palette generator →

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