#321472#321472

#321472 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.147 H 289.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#321472
RGBrgb(50, 20, 114)
HSLhsl(259, 70%, 26%)
HSVhsv(259, 82%, 45%)
CMYKcmyk(56.1%, 82.5%, 0%, 55.3%)
CIE-LABlab(17.43, 38.15, -48.20)
CIE-LCHlch(17.43, 61.47, 308.36°)
OKLaboklab(30.55% 0.0479 -0.1386)
OKLCHoklch(30.55% 0.147 289)
XYZxyz(4.6019, 2.3931, 16.1358)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321472 #547214
analogous
#142572 #321472 #611472
triadic
#321472 #723214 #147232
tetradic
#321472 #721425 #547214 #147261
square
#321472 #721425 #547214 #147261
split-complementary
#321472 #726114 #257214
monochromatic
#0B051A #1B0B3E #321472 #491DA6 #6027D9

Accessibility & contrast

On white

14.20
#321472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#321472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321472
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321472#FFFFFF#000000##FFFFFF
##3214721.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#192F43
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #321472;
/* rgb */ color: rgb(50, 20, 114);
/* oklch */ color: oklch(30.6% 0.147 289.0);
Tailwind
colors: {
  custom: {
    50: '#72569c',
    500: '#321472',
    950: '#000000',
  },
}
SCSS
$custom: #321472;
$custom-light: #72569c;
$custom-dark: #000000;
JSON
{
  "hex": "#321472",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 259.149,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30551,
    "c": 0.14668,
    "h": 289
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#321472
secondary
#85A839
accent
#ED3BB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321472

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

Preview Lab → · Contrast checker → · Palette generator →

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