#321573#321573

#321573 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.147 H 288.6°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#321573
RGBrgb(50, 21, 115)
HSLhsl(259, 69%, 27%)
HSVhsv(259, 82%, 45%)
CMYKcmyk(56.5%, 81.7%, 0%, 54.9%)
CIE-LABlab(17.70, 37.97, -48.40)
CIE-LCHlch(17.70, 61.52, 308.11°)
OKLaboklab(30.77% 0.0468 -0.1392)
OKLCHoklch(30.77% 0.147 288.6)
XYZxyz(4.6772, 2.4520, 16.4432)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321573 #567315
analogous
#152773 #321573 #611573
triadic
#321573 #733215 #157332
tetradic
#321573 #731527 #567315 #157361
square
#321573 #731527 #567315 #157361
split-complementary
#321573 #736115 #277315
monochromatic
#0B051A #1C0C3F #321573 #491EA7 #602AD8

Accessibility & contrast

On white

14.09
#321573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#321573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321573
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321573#FFFFFF#000000##FFFFFF
##3215731.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#173044
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #321573;
/* rgb */ color: rgb(50, 21, 115);
/* oklch */ color: oklch(30.8% 0.147 288.6);
Tailwind
colors: {
  custom: {
    50: '#72579c',
    500: '#321573',
    950: '#000000',
  },
}
SCSS
$custom: #321573;
$custom-light: #72579c;
$custom-dark: #000000;
JSON
{
  "hex": "#321573",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 258.511,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30772,
    "c": 0.14689,
    "h": 288.6
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#321573
secondary
#87A93B
accent
#EC3CB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321573

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

Preview Lab → · Contrast checker → · Palette generator →

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