#321C4A#321C4A

#321C4A is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.1% C 0.084 H 303.5°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#321C4A
RGBrgb(50, 28, 74)
HSLhsl(269, 45%, 20%)
HSVhsv(269, 62%, 29%)
CMYKcmyk(32.4%, 62.2%, 0%, 71%)
CIE-LABlab(15.50, 21.63, -24.67)
CIE-LCHlch(15.50, 32.81, 311.24°)
OKLaboklab(28.07% 0.0461 -0.0696)
OKLCHoklch(28.07% 0.084 303.5)
XYZxyz(2.9664, 2.0030, 6.7076)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C4A #344A1C
analogous
#1C1D4A #321C4A #491C4A
triadic
#321C4A #4A321C #1C4A32
tetradic
#321C4A #4A1C1D #344A1C #1C4A49
square
#321C4A #4A1C1D #344A1C #1C4A49
split-complementary
#321C4A #4A491C #1D4A1C
monochromatic
#0F0816 #140B1E #321C4A #502D76 #6E3EA3

Accessibility & contrast

On white

14.99
#321C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321C4A
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C4A#FFFFFF#000000##FFFFFF
##321C4A1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A264C
Deuteranopia (green-blind)
#122749
Tritanopia (blue-blind)
#2E2530
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321c4a;
/* rgb */ color: rgb(50, 28, 74);
/* oklch */ color: oklch(28.1% 0.084 303.5);
Tailwind
colors: {
  custom: {
    50: '#6c597d',
    500: '#321c4a',
    950: '#000000',
  },
}
SCSS
$custom: #321c4a;
$custom-light: #6c597d;
$custom-dark: #000000;
JSON
{
  "hex": "#321c4a",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 268.696,
    "s": 45.098,
    "l": 20
  },
  "oklch": {
    "l": 0.2807,
    "c": 0.08354,
    "h": 303.5
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#321C4A
secondary
#627F42
accent
#D55397
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #321C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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