#321142#321142

#321142 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.6% C 0.092 H 312.7°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#321142
RGBrgb(50, 17, 66)
HSLhsl(280, 59%, 16%)
HSVhsv(280, 74%, 26%)
CMYKcmyk(24.2%, 74.2%, 0%, 74.1%)
CIE-LABlab(12.43, 26.13, -24.03)
CIE-LCHlch(12.43, 35.50, 317.39°)
OKLaboklab(25.65% 0.0625 -0.0677)
OKLCHoklch(25.65% 0.092 312.7)
XYZxyz(2.4990, 1.4724, 5.3058)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321142 #214211
analogous
#1A1142 #321142 #42113A
triadic
#321142 #423211 #114232
tetradic
#321142 #421A11 #214211 #113A42
square
#321142 #421A11 #214211 #113A42
split-complementary
#321142 #3A4211 #11421A
monochromatic
#120618 #120618 #321142 #571E73 #7C2AA3

Accessibility & contrast

On white

16.22
#321142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#321142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321142
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321142#FFFFFF#000000##FFFFFF
##3211421.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F43
Deuteranopia (green-blind)
#0D2141
Tritanopia (blue-blind)
#301B27
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #321142;
/* rgb */ color: rgb(50, 17, 66);
/* oklch */ color: oklch(25.6% 0.092 312.7);
Tailwind
colors: {
  custom: {
    50: '#6c5277',
    500: '#321142',
    950: '#000000',
  },
}
SCSS
$custom: #321142;
$custom-light: #6c5277;
$custom-dark: #000000;
JSON
{
  "hex": "#321142",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 280.408,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25647,
    "c": 0.09214,
    "h": 312.7
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#321142
secondary
#4B7C33
accent
#E24679
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #321142

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

Preview Lab → · Contrast checker → · Palette generator →

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