#321544#321544

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

Color values

HEX#321544
RGBrgb(50, 21, 68)
HSLhsl(277, 53%, 17%)
HSVhsv(277, 69%, 27%)
CMYKcmyk(26.5%, 69.1%, 0%, 73.3%)
CIE-LABlab(13.42, 24.35, -23.84)
CIE-LCHlch(13.42, 34.08, 315.60°)
OKLaboklab(26.41% 0.0567 -0.0672)
OKLCHoklch(26.41% 0.088 310.2)
XYZxyz(2.6267, 1.6318, 5.6443)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321544 #274415
analogous
#1A1544 #321544 #44153F
triadic
#321544 #443215 #154432
tetradic
#321544 #441A15 #274415 #153F44
square
#321544 #441A15 #274415 #153F44
split-complementary
#321544 #3F4415 #15441A
monochromatic
#110717 #110717 #321544 #542373 #7732A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##321544#FFFFFF#000000##FFFFFF
##3215441.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)
#032145
Deuteranopia (green-blind)
#102343
Tritanopia (blue-blind)
#301E2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321544;
/* rgb */ color: rgb(50, 21, 68);
/* oklch */ color: oklch(26.4% 0.088 310.2);
Tailwind
colors: {
  custom: {
    50: '#6c5478',
    500: '#321544',
    950: '#000000',
  },
}
SCSS
$custom: #321544;
$custom-light: #6c5478;
$custom-dark: #000000;
JSON
{
  "hex": "#321544",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 277.021,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26412,
    "c": 0.0879,
    "h": 310.2
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#321544
secondary
#537C39
accent
#DC4C83
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321544

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

Preview Lab → · Contrast checker → · Palette generator →

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