#321D46#321D46

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

Color values

HEX#321D46
RGBrgb(50, 29, 70)
HSLhsl(271, 41%, 19%)
HSVhsv(271, 59%, 27%)
CMYKcmyk(28.6%, 58.6%, 0%, 72.5%)
CIE-LABlab(15.48, 19.82, -21.95)
CIE-LCHlch(15.48, 29.57, 312.08°)
OKLaboklab(27.97% 0.0443 -0.0616)
OKLCHoklch(27.97% 0.076 305.7)
XYZxyz(2.8600, 1.9991, 6.0284)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321D46 #31461D
analogous
#1E1D46 #321D46 #461D46
triadic
#321D46 #46321D #1D4632
tetradic
#321D46 #461E1D #31461D #1D4646
square
#321D46 #461E1D #31461D #1D4646
split-complementary
#321D46 #46461D #1D461E
monochromatic
#0F0916 #130B1B #321D46 #512F71 #70419D

Accessibility & contrast

On white

15.00
#321D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321D46
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321D46#FFFFFF#000000##FFFFFF
##321D461.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102647
Deuteranopia (green-blind)
#172745
Tritanopia (blue-blind)
#2F242E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321d46;
/* rgb */ color: rgb(50, 29, 70);
/* oklch */ color: oklch(28.0% 0.076 305.7);
Tailwind
colors: {
  custom: {
    50: '#6b5a7a',
    500: '#321d46',
    950: '#000000',
  },
}
SCSS
$custom: #321d46;
$custom-light: #6b5a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#321d46",
  "rgb": {
    "r": 50,
    "g": 29,
    "b": 70
  },
  "hsl": {
    "h": 270.732,
    "s": 41.414,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27967,
    "c": 0.07593,
    "h": 305.7
  },
  "luminance": 0.01999
}

Semantic roles & 50–950 ramp

primary
#321D46
secondary
#5F7B44
accent
#D15792
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321D46

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

Preview Lab → · Contrast checker → · Palette generator →

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