#321B49#321B49

#321B49 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.8% C 0.084 H 304.6°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#321B49
RGBrgb(50, 27, 73)
HSLhsl(270, 46%, 20%)
HSVhsv(270, 63%, 29%)
CMYKcmyk(31.5%, 63%, 0%, 71.4%)
CIE-LABlab(15.19, 21.99, -24.49)
CIE-LCHlch(15.19, 32.92, 311.92°)
OKLaboklab(27.81% 0.0477 -0.0691)
OKLCHoklch(27.81% 0.084 304.6)
XYZxyz(2.9097, 1.9430, 6.5238)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321B49 #32491B
analogous
#1B1B49 #321B49 #491B49
triadic
#321B49 #49321B #1B4932
tetradic
#321B49 #491B1B #32491B #1B4949
square
#321B49 #491B1B #32491B #1B4949
split-complementary
#321B49 #49491B #1B491B
monochromatic
#0F0816 #130A1C #321B49 #512C76 #6F3CA2

Accessibility & contrast

On white

15.12
#321B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#321B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321B49
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321B49#FFFFFF#000000##FFFFFF
##321B491.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09254B
Deuteranopia (green-blind)
#122648
Tritanopia (blue-blind)
#2E242F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321b49;
/* rgb */ color: rgb(50, 27, 73);
/* oklch */ color: oklch(27.8% 0.084 304.6);
Tailwind
colors: {
  custom: {
    50: '#6c587c',
    500: '#321b49',
    950: '#000000',
  },
}
SCSS
$custom: #321b49;
$custom-light: #6c587c;
$custom-dark: #000000;
JSON
{
  "hex": "#321b49",
  "rgb": {
    "r": 50,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 270,
    "s": 46,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27814,
    "c": 0.08394,
    "h": 304.6
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#321B49
secondary
#607F41
accent
#D65294
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #321B49

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

Preview Lab → · Contrast checker → · Palette generator →

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