#321644#321644

#321644 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.6% C 0.086 H 309.9°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#321644
RGBrgb(50, 22, 68)
HSLhsl(277, 51%, 18%)
HSVhsv(277, 68%, 27%)
CMYKcmyk(26.5%, 67.6%, 0%, 73.3%)
CIE-LABlab(13.65, 23.74, -23.49)
CIE-LCHlch(13.65, 33.40, 315.31°)
OKLaboklab(26.57% 0.0552 -0.0661)
OKLCHoklch(26.57% 0.086 309.9)
XYZxyz(2.6455, 1.6693, 5.6506)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321644 #284416
analogous
#1B1644 #321644 #44163F
triadic
#321644 #443216 #164432
tetradic
#321644 #441B16 #284416 #163F44
square
#321644 #441B16 #284416 #163F44
split-complementary
#321644 #3F4416 #16441B
monochromatic
#110717 #110717 #321644 #542572 #7634A0

Accessibility & contrast

On white

15.74
#321644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321644
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321644#FFFFFF#000000##FFFFFF
##3216441.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052245
Deuteranopia (green-blind)
#112343
Tritanopia (blue-blind)
#301F2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321644;
/* rgb */ color: rgb(50, 22, 68);
/* oklch */ color: oklch(26.6% 0.086 309.9);
Tailwind
colors: {
  custom: {
    50: '#6c5578',
    500: '#321644',
    950: '#000000',
  },
}
SCSS
$custom: #321644;
$custom-light: #6c5578;
$custom-dark: #000000;
JSON
{
  "hex": "#321644",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 68
  },
  "hsl": {
    "h": 276.522,
    "s": 51.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26574,
    "c": 0.08613,
    "h": 309.9
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#321644
secondary
#547B3A
accent
#DB4D85
background
#F6F5F7
surface
#EBE8ED
border
#C6C4C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321644

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

Preview Lab → · Contrast checker → · Palette generator →

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