#321476#321476

#321476 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.151 H 287.9°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#321476
RGBrgb(50, 20, 118)
HSLhsl(258, 71%, 27%)
HSVhsv(258, 83%, 46%)
CMYKcmyk(57.6%, 83.1%, 0%, 53.7%)
CIE-LABlab(17.86, 39.33, -50.08)
CIE-LCHlch(17.86, 63.68, 308.14°)
OKLaboklab(30.98% 0.0465 -0.1441)
OKLCHoklch(30.98% 0.151 287.9)
XYZxyz(4.8346, 2.4862, 17.3612)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321476 #587614
analogous
#142776 #321476 #631476
triadic
#321476 #763214 #147632
tetradic
#321476 #761427 #587614 #147663
square
#321476 #761427 #587614 #147663
split-complementary
#321476 #766314 #277614
monochromatic
#0B041A #1C0B42 #321476 #481DAA #602ADB

Accessibility & contrast

On white

14.03
#321476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#321476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321476
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321476#FFFFFF#000000##FFFFFF
##3214761.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#143145
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #321476;
/* rgb */ color: rgb(50, 20, 118);
/* oklch */ color: oklch(31.0% 0.151 287.9);
Tailwind
colors: {
  custom: {
    50: '#73569f',
    500: '#321476',
    950: '#000000',
  },
}
SCSS
$custom: #321476;
$custom-light: #73569f;
$custom-dark: #000000;
JSON
{
  "hex": "#321476",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 258.367,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30976,
    "c": 0.15145,
    "h": 287.9
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#321476
secondary
#89AC3A
accent
#EE3AB7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #321476

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

Preview Lab → · Contrast checker → · Palette generator →

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