#321143#321143

#321143 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.093 H 312.0°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#321143
RGBrgb(50, 17, 67)
HSLhsl(280, 60%, 16%)
HSVhsv(280, 75%, 26%)
CMYKcmyk(25.4%, 74.6%, 0%, 73.7%)
CIE-LABlab(12.51, 26.39, -24.61)
CIE-LCHlch(12.51, 36.08, 316.99°)
OKLaboklab(25.73% 0.0624 -0.0694)
OKLCHoklch(25.73% 0.093 312)
XYZxyz(2.5288, 1.4843, 5.4624)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321143 #224311
analogous
#191143 #321143 #43113B
triadic
#321143 #433211 #114332
tetradic
#321143 #431911 #224311 #113B43
square
#321143 #431911 #224311 #113B43
split-complementary
#321143 #3B4311 #114319
monochromatic
#120618 #120618 #321143 #561D74 #7B2AA5

Accessibility & contrast

On white

16.19
#321143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#321143 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321143
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321143#FFFFFF#000000##FFFFFF
##3211431.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F44
Deuteranopia (green-blind)
#0C2142
Tritanopia (blue-blind)
#301B28
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #321143;
/* rgb */ color: rgb(50, 17, 67);
/* oklch */ color: oklch(25.7% 0.093 312.0);
Tailwind
colors: {
  custom: {
    50: '#6c5277',
    500: '#321143',
    950: '#000000',
  },
}
SCSS
$custom: #321143;
$custom-light: #6c5277;
$custom-dark: #000000;
JSON
{
  "hex": "#321143",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 279.6,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25727,
    "c": 0.09334,
    "h": 312
  },
  "luminance": 0.01484
}

Semantic roles & 50–950 ramp

primary
#321143
secondary
#4C7D33
accent
#E3457B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #321143

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

Preview Lab → · Contrast checker → · Palette generator →

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