#321473#321473

#321473 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.148 H 288.7°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#321473
RGBrgb(50, 20, 115)
HSLhsl(259, 70%, 26%)
HSVhsv(259, 83%, 45%)
CMYKcmyk(56.5%, 82.6%, 0%, 54.9%)
CIE-LABlab(17.53, 38.45, -48.67)
CIE-LCHlch(17.53, 62.03, 308.30°)
OKLaboklab(30.66% 0.0475 -0.14)
OKLCHoklch(30.66% 0.148 288.7)
XYZxyz(4.6592, 2.4160, 16.4372)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321473 #557314
analogous
#142673 #321473 #621473
triadic
#321473 #733214 #147332
tetradic
#321473 #731426 #557314 #147362
square
#321473 #731426 #557314 #147362
split-complementary
#321473 #736214 #267314
monochromatic
#0B051A #1B0B3F #321473 #491DA7 #6028DA

Accessibility & contrast

On white

14.16
#321473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321473
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321473#FFFFFF#000000##FFFFFF
##3214731.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321473;
/* rgb */ color: rgb(50, 20, 115);
/* oklch */ color: oklch(30.7% 0.148 288.7);
Tailwind
colors: {
  custom: {
    50: '#72569c',
    500: '#321473',
    950: '#000000',
  },
}
SCSS
$custom: #321473;
$custom-light: #72569c;
$custom-dark: #000000;
JSON
{
  "hex": "#321473",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 258.947,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30657,
    "c": 0.14787,
    "h": 288.7
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#321473
secondary
#86A93A
accent
#ED3BB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321473

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

Preview Lab → · Contrast checker → · Palette generator →

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