#321545#321545

#321545 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.089 H 309.4°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#321545
RGBrgb(50, 21, 69)
HSLhsl(276, 53%, 18%)
HSVhsv(276, 70%, 27%)
CMYKcmyk(27.5%, 69.6%, 0%, 72.9%)
CIE-LABlab(13.50, 24.62, -24.42)
CIE-LCHlch(13.50, 34.68, 315.22°)
OKLaboklab(26.49% 0.0567 -0.0689)
OKLCHoklch(26.49% 0.089 309.4)
XYZxyz(2.6575, 1.6442, 5.8064)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321545 #284515
analogous
#1A1545 #321545 #451540
triadic
#321545 #453215 #154532
tetradic
#321545 #451A15 #284515 #154045
square
#321545 #451A15 #284515 #154045
split-complementary
#321545 #404515 #15451A
monochromatic
#110717 #110717 #321545 #542374 #7632A3

Accessibility & contrast

On white

15.80
#321545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#321545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321545
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321545#FFFFFF#000000##FFFFFF
##3215451.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022146
Deuteranopia (green-blind)
#0F2344
Tritanopia (blue-blind)
#2F1E2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321545;
/* rgb */ color: rgb(50, 21, 69);
/* oklch */ color: oklch(26.5% 0.089 309.4);
Tailwind
colors: {
  custom: {
    50: '#6c5479',
    500: '#321545',
    950: '#000000',
  },
}
SCSS
$custom: #321545;
$custom-light: #6c5479;
$custom-dark: #000000;
JSON
{
  "hex": "#321545",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 276.25,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26489,
    "c": 0.08919,
    "h": 309.4
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#321545
secondary
#547D39
accent
#DD4B85
background
#F6F4F7
surface
#EBE8ED
border
#C6C4C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321545

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

Preview Lab → · Contrast checker → · Palette generator →

#321545 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva