#321A49#321A49

#321A49 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.6% C 0.086 H 305.0°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#321A49
RGBrgb(50, 26, 73)
HSLhsl(271, 47%, 19%)
HSVhsv(271, 64%, 29%)
CMYKcmyk(31.5%, 64.4%, 0%, 71.4%)
CIE-LABlab(14.94, 22.63, -24.88)
CIE-LCHlch(14.94, 33.64, 312.29°)
OKLaboklab(27.64% 0.0492 -0.0702)
OKLCHoklch(27.64% 0.086 305)
XYZxyz(2.8871, 1.8980, 6.5163)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A49 #31491A
analogous
#1A1A49 #321A49 #491A49
triadic
#321A49 #49321A #1A4932
tetradic
#321A49 #491A1A #31491A #1A4949
square
#321A49 #491A1A #31491A #1A4949
split-complementary
#321A49 #49491A #1A491A
monochromatic
#0F0817 #130A1C #321A49 #512A76 #703AA3

Accessibility & contrast

On white

15.22
#321A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#321A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A49
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A49#FFFFFF#000000##FFFFFF
##321A491.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07254B
Deuteranopia (green-blind)
#112648
Tritanopia (blue-blind)
#2E232E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321a49;
/* rgb */ color: rgb(50, 26, 73);
/* oklch */ color: oklch(27.6% 0.086 305.0);
Tailwind
colors: {
  custom: {
    50: '#6c587c',
    500: '#321a49',
    950: '#000000',
  },
}
SCSS
$custom: #321a49;
$custom-light: #6c587c;
$custom-dark: #000000;
JSON
{
  "hex": "#321a49",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 270.638,
    "s": 47.475,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27636,
    "c": 0.08574,
    "h": 305
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#321A49
secondary
#5F7F40
accent
#D75192
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #321A49

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

Preview Lab → · Contrast checker → · Palette generator →

#321A49 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva