#321347#321347

#321347 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.095 H 308.6°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#321347
RGBrgb(50, 19, 71)
HSLhsl(276, 58%, 18%)
HSVhsv(276, 73%, 28%)
CMYKcmyk(29.6%, 73.2%, 0%, 72.2%)
CIE-LABlab(13.22, 26.33, -26.26)
CIE-LCHlch(13.22, 37.18, 315.07°)
OKLaboklab(26.34% 0.0594 -0.0742)
OKLCHoklch(26.34% 0.095 308.6)
XYZxyz(2.6854, 1.5988, 6.1272)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321347 #284713
analogous
#181347 #321347 #471342
triadic
#321347 #473213 #134732
tetradic
#321347 #471813 #284713 #134247
square
#321347 #471813 #284713 #134247
split-complementary
#321347 #424713 #134718
monochromatic
#110618 #110618 #321347 #542077 #762DA8

Accessibility & contrast

On white

15.91
#321347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#321347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321347
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321347#FFFFFF#000000##FFFFFF
##3213471.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#0A2246
Tritanopia (blue-blind)
#2F1E2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321347;
/* rgb */ color: rgb(50, 19, 71);
/* oklch */ color: oklch(26.3% 0.095 308.6);
Tailwind
colors: {
  custom: {
    50: '#6c537a',
    500: '#321347',
    950: '#000000',
  },
}
SCSS
$custom: #321347;
$custom-light: #6c537a;
$custom-dark: #000000;
JSON
{
  "hex": "#321347",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 71
  },
  "hsl": {
    "h": 275.769,
    "s": 57.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2634,
    "c": 0.09505,
    "h": 308.6
  },
  "luminance": 0.01599
}

Semantic roles & 50–950 ramp

primary
#321347
secondary
#548036
accent
#E14785
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #321347

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

Preview Lab → · Contrast checker → · Palette generator →

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