#321237#321237

#321237 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.077 H 322.1°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#321237
RGBrgb(50, 18, 55)
HSLhsl(292, 51%, 14%)
HSVhsv(292, 67%, 22%)
CMYKcmyk(9.1%, 67.3%, 0%, 78.4%)
CIE-LABlab(11.87, 22.83, -17.10)
CIE-LCHlch(11.87, 28.52, 323.16°)
OKLaboklab(24.99% 0.0609 -0.0475)
OKLCHoklch(24.99% 0.077 322.1)
XYZxyz(2.2212, 1.3867, 3.7643)
Luminance0.0139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321237 #173712
analogous
#201237 #321237 #37122A
triadic
#321237 #373212 #123732
tetradic
#321237 #372012 #173712 #122A37
square
#321237 #372012 #173712 #122A37
split-complementary
#321237 #2A3712 #123720
monochromatic
#150817 #150817 #321237 #5C2165 #863093

Accessibility & contrast

On white

16.44
#321237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#321237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321237
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321237#FFFFFF#000000##FFFFFF
##3212371.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321237;
/* rgb */ color: rgb(50, 18, 55);
/* oklch */ color: oklch(25.0% 0.077 322.1);
Tailwind
colors: {
  custom: {
    50: '#6b526e',
    500: '#321237',
    950: '#000000',
  },
}
SCSS
$custom: #321237;
$custom-light: #6b526e;
$custom-dark: #000000;
JSON
{
  "hex": "#321237",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 291.892,
    "s": 50.685,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24991,
    "c": 0.07723,
    "h": 322.1
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#321237
secondary
#3D7035
accent
#DA4E61
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #321237

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

Preview Lab → · Contrast checker → · Palette generator →

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