#321649#321649

#321649 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.093 H 306.4°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#321649
RGBrgb(50, 22, 73)
HSLhsl(273, 54%, 19%)
HSVhsv(273, 70%, 29%)
CMYKcmyk(31.5%, 69.9%, 0%, 71.4%)
CIE-LABlab(14.02, 25.12, -26.36)
CIE-LCHlch(14.02, 36.41, 313.61°)
OKLaboklab(26.96% 0.055 -0.0746)
OKLCHoklch(26.96% 0.093 306.4)
XYZxyz(2.8046, 1.7330, 6.4888)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321649 #2D4916
analogous
#181649 #321649 #491646
triadic
#321649 #493216 #164932
tetradic
#321649 #491816 #2D4916 #164649
square
#321649 #491816 #2D4916 #164649
split-complementary
#321649 #464916 #164918
monochromatic
#100718 #12081A #321649 #522478 #7232A7

Accessibility & contrast

On white

15.59
#321649 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#321649 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321649
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321649#FFFFFF#000000##FFFFFF
##3216491.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234B
Deuteranopia (green-blind)
#0B2448
Tritanopia (blue-blind)
#2E202D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321649;
/* rgb */ color: rgb(50, 22, 73);
/* oklch */ color: oklch(27.0% 0.093 306.4);
Tailwind
colors: {
  custom: {
    50: '#6c557c',
    500: '#321649',
    950: '#000000',
  },
}
SCSS
$custom: #321649;
$custom-light: #6c557c;
$custom-dark: #000000;
JSON
{
  "hex": "#321649",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 73
  },
  "hsl": {
    "h": 272.941,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26964,
    "c": 0.09267,
    "h": 306.4
  },
  "luminance": 0.01733
}

Semantic roles & 50–950 ramp

primary
#321649
secondary
#5A803A
accent
#DD4B8D
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #321649

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

Preview Lab → · Contrast checker → · Palette generator →

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