#321471#321471

#321471 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.145 H 289.3°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#321471
RGBrgb(50, 20, 113)
HSLhsl(259, 70%, 26%)
HSVhsv(259, 82%, 44%)
CMYKcmyk(55.8%, 82.3%, 0%, 55.7%)
CIE-LABlab(17.32, 37.86, -47.73)
CIE-LCHlch(17.32, 60.92, 308.42°)
OKLaboklab(30.45% 0.0482 -0.1373)
OKLCHoklch(30.45% 0.145 289.3)
XYZxyz(4.5453, 2.3705, 15.8376)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321471 #537114
analogous
#142471 #321471 #601471
triadic
#321471 #713214 #147132
tetradic
#321471 #711424 #537114 #147160
square
#321471 #711424 #537114 #147160
split-complementary
#321471 #716014 #247114
monochromatic
#0C051A #1B0B3D #321471 #491DA5 #6027D9

Accessibility & contrast

On white

14.25
#321471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#321471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321471
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321471#FFFFFF#000000##FFFFFF
##3214711.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#192F42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #321471;
/* rgb */ color: rgb(50, 20, 113);
/* oklch */ color: oklch(30.4% 0.145 289.3);
Tailwind
colors: {
  custom: {
    50: '#72569b',
    500: '#321471',
    950: '#000000',
  },
}
SCSS
$custom: #321471;
$custom-light: #72569b;
$custom-dark: #000000;
JSON
{
  "hex": "#321471",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 259.355,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30445,
    "c": 0.14549,
    "h": 289.3
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#321471
secondary
#84A739
accent
#ED3BB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321471

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

Preview Lab → · Contrast checker → · Palette generator →

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