#321641#321641

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

Color values

HEX#321641
RGBrgb(50, 22, 65)
HSLhsl(279, 49%, 17%)
HSVhsv(279, 66%, 25%)
CMYKcmyk(23.1%, 66.2%, 0%, 74.5%)
CIE-LABlab(13.43, 22.94, -21.73)
CIE-LCHlch(13.43, 31.59, 316.55°)
OKLaboklab(26.35% 0.0552 -0.061)
OKLCHoklch(26.35% 0.082 312.1)
XYZxyz(2.5563, 1.6336, 5.1807)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321641 #254116
analogous
#1D1641 #321641 #41163B
triadic
#321641 #413216 #164132
tetradic
#321641 #411D16 #254116 #163B41
square
#321641 #411D16 #254116 #163B41
split-complementary
#321641 #3B4116 #16411D
monochromatic
#120817 #120817 #321641 #55256F #78359C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##321641#FFFFFF#000000##FFFFFF
##3216411.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)
#082142
Deuteranopia (green-blind)
#132340
Tritanopia (blue-blind)
#301E29
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321641;
/* rgb */ color: rgb(50, 22, 65);
/* oklch */ color: oklch(26.4% 0.082 312.1);
Tailwind
colors: {
  custom: {
    50: '#6b5576',
    500: '#321641',
    950: '#000000',
  },
}
SCSS
$custom: #321641;
$custom-light: #6b5576;
$custom-dark: #000000;
JSON
{
  "hex": "#321641",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 279.07,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26351,
    "c": 0.08223,
    "h": 312.1
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#321641
secondary
#50783A
accent
#D94F7F
background
#F6F4F7
surface
#EBE8ED
border
#C6C4C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #321641

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

Preview Lab → · Contrast checker → · Palette generator →

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