#321343#321343

#321343 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.090 H 311.5°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#321343
RGBrgb(50, 19, 67)
HSLhsl(279, 56%, 17%)
HSVhsv(279, 72%, 26%)
CMYKcmyk(25.4%, 71.6%, 0%, 73.7%)
CIE-LABlab(12.92, 25.26, -23.95)
CIE-LCHlch(12.92, 34.81, 316.52°)
OKLaboklab(26.02% 0.0596 -0.0675)
OKLCHoklch(26.02% 0.09 311.5)
XYZxyz(2.5612, 1.5492, 5.4732)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321343 #244313
analogous
#1A1343 #321343 #43133C
triadic
#321343 #433213 #134332
tetradic
#321343 #431A13 #244313 #133C43
square
#321343 #431A13 #244313 #133C43
split-complementary
#321343 #3C4313 #13431A
monochromatic
#120718 #120718 #321343 #562173 #792EA2

Accessibility & contrast

On white

16.03
#321343 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#321343 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321343
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321343#FFFFFF#000000##FFFFFF
##3213431.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012044
Deuteranopia (green-blind)
#0E2242
Tritanopia (blue-blind)
#301C29
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #321343;
/* rgb */ color: rgb(50, 19, 67);
/* oklch */ color: oklch(26.0% 0.090 311.5);
Tailwind
colors: {
  custom: {
    50: '#6c5377',
    500: '#321343',
    950: '#000000',
  },
}
SCSS
$custom: #321343;
$custom-light: #6c5377;
$custom-dark: #000000;
JSON
{
  "hex": "#321343",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 67
  },
  "hsl": {
    "h": 278.75,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26022,
    "c": 0.09006,
    "h": 311.5
  },
  "luminance": 0.01549
}

Semantic roles & 50–950 ramp

primary
#321343
secondary
#4F7C36
accent
#DF497E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #321343

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

Preview Lab → · Contrast checker → · Palette generator →

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