#321447#321447

#321447 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.093 H 308.4°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#321447
RGBrgb(50, 20, 71)
HSLhsl(275, 56%, 18%)
HSVhsv(275, 72%, 28%)
CMYKcmyk(29.6%, 71.8%, 0%, 72.2%)
CIE-LABlab(13.43, 25.75, -25.92)
CIE-LCHlch(13.43, 36.53, 314.81°)
OKLaboklab(26.49% 0.058 -0.0732)
OKLCHoklch(26.49% 0.093 308.4)
XYZxyz(2.7026, 1.6334, 6.1329)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321447 #294714
analogous
#181447 #321447 #471442
triadic
#321447 #473214 #144732
tetradic
#321447 #471814 #294714 #144247
square
#321447 #471814 #294714 #144247
split-complementary
#321447 #424714 #144718
monochromatic
#110718 #110718 #321447 #542177 #752FA6

Accessibility & contrast

On white

15.83
#321447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#321447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321447
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321447#FFFFFF#000000##FFFFFF
##3214471.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321447;
/* rgb */ color: rgb(50, 20, 71);
/* oklch */ color: oklch(26.5% 0.093 308.4);
Tailwind
colors: {
  custom: {
    50: '#6c547a',
    500: '#321447',
    950: '#000000',
  },
}
SCSS
$custom: #321447;
$custom-light: #6c547a;
$custom-dark: #000000;
JSON
{
  "hex": "#321447",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 71
  },
  "hsl": {
    "h": 275.294,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26491,
    "c": 0.09343,
    "h": 308.4
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#321447
secondary
#557F38
accent
#DF4887
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321447

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

Preview Lab → · Contrast checker → · Palette generator →

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