#321D43#321D43

#321D43 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 27.8% C 0.072 H 307.9°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#321D43
RGBrgb(50, 29, 67)
HSLhsl(273, 40%, 19%)
HSVhsv(273, 57%, 26%)
CMYKcmyk(25.4%, 56.7%, 0%, 73.7%)
CIE-LABlab(15.29, 18.97, -20.18)
CIE-LCHlch(15.29, 27.69, 313.23°)
OKLaboklab(27.76% 0.044 -0.0565)
OKLCHoklch(27.76% 0.072 307.9)
XYZxyz(2.7677, 1.9621, 5.5420)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321D43 #2E431D
analogous
#1F1D43 #321D43 #431D41
triadic
#321D43 #43321D #1D4332
tetradic
#321D43 #431F1D #2E431D #1D4143
square
#321D43 #431F1D #2E431D #1D4143
split-complementary
#321D43 #41431D #1D431F
monochromatic
#100915 #120B18 #321D43 #522F6E #724298

Accessibility & contrast

On white

15.08
#321D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321D43
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321D43#FFFFFF#000000##FFFFFF
##321D431.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132544
Deuteranopia (green-blind)
#192742
Tritanopia (blue-blind)
#30232C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321d43;
/* rgb */ color: rgb(50, 29, 67);
/* oklch */ color: oklch(27.8% 0.072 307.9);
Tailwind
colors: {
  custom: {
    50: '#6b5977',
    500: '#321d43',
    950: '#000000',
  },
}
SCSS
$custom: #321d43;
$custom-light: #6b5977;
$custom-dark: #000000;
JSON
{
  "hex": "#321d43",
  "rgb": {
    "r": 50,
    "g": 29,
    "b": 67
  },
  "hsl": {
    "h": 273.158,
    "s": 39.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27759,
    "c": 0.0716,
    "h": 307.9
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#321D43
secondary
#5B7844
accent
#CF588E
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #321D43

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

Preview Lab → · Contrast checker → · Palette generator →

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