#321C49#321C49

#321C49 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.0% C 0.082 H 304.2°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#321C49
RGBrgb(50, 28, 73)
HSLhsl(269, 45%, 20%)
HSVhsv(269, 62%, 29%)
CMYKcmyk(31.5%, 61.6%, 0%, 71.4%)
CIE-LABlab(15.43, 21.34, -24.10)
CIE-LCHlch(15.43, 32.19, 311.53°)
OKLaboklab(28% 0.0461 -0.0679)
OKLCHoklch(28% 0.082 304.2)
XYZxyz(2.9330, 1.9897, 6.5316)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C49 #33491C
analogous
#1C1D49 #321C49 #481C49
triadic
#321C49 #49321C #1C4932
tetradic
#321C49 #491C1D #33491C #1C4948
square
#321C49 #491C1D #33491C #1C4948
split-complementary
#321C49 #49481C #1D491C
monochromatic
#0F0816 #140B1D #321C49 #502D75 #6F3EA1

Accessibility & contrast

On white

15.02
#321C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#321C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C49
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C49#FFFFFF#000000##FFFFFF
##321C491.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B264A
Deuteranopia (green-blind)
#132748
Tritanopia (blue-blind)
#2E252F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321c49;
/* rgb */ color: rgb(50, 28, 73);
/* oklch */ color: oklch(28.0% 0.082 304.2);
Tailwind
colors: {
  custom: {
    50: '#6c597c',
    500: '#321c49',
    950: '#000000',
  },
}
SCSS
$custom: #321c49;
$custom-light: #6c597c;
$custom-dark: #000000;
JSON
{
  "hex": "#321c49",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 73
  },
  "hsl": {
    "h": 269.333,
    "s": 44.554,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27996,
    "c": 0.08211,
    "h": 304.2
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#321C49
secondary
#617E42
accent
#D45495
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #321C49

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

Preview Lab → · Contrast checker → · Palette generator →

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