#321576#321576

#321576 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.150 H 287.7°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#321576
RGBrgb(50, 21, 118)
HSLhsl(258, 70%, 27%)
HSVhsv(258, 82%, 46%)
CMYKcmyk(57.6%, 82.2%, 0%, 53.7%)
CIE-LABlab(18.02, 38.86, -49.81)
CIE-LCHlch(18.02, 63.17, 307.96°)
OKLaboklab(31.09% 0.0458 -0.1434)
OKLCHoklch(31.09% 0.15 287.7)
XYZxyz(4.8526, 2.5222, 17.3672)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321576 #597615
analogous
#152976 #321576 #631576
triadic
#321576 #763215 #157632
tetradic
#321576 #761529 #597615 #157663
square
#321576 #761529 #597615 #157663
split-complementary
#321576 #766315 #297615
monochromatic
#0B051A #1C0C42 #321576 #481EAA #602CD9

Accessibility & contrast

On white

13.96
#321576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321576
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321576#FFFFFF#000000##FFFFFF
##3215761.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321576;
/* rgb */ color: rgb(50, 21, 118);
/* oklch */ color: oklch(31.1% 0.150 287.7);
Tailwind
colors: {
  custom: {
    50: '#73579f',
    500: '#321576',
    950: '#000000',
  },
}
SCSS
$custom: #321576;
$custom-light: #73579f;
$custom-dark: #000000;
JSON
{
  "hex": "#321576",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 257.938,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31089,
    "c": 0.15049,
    "h": 287.7
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#321576
secondary
#8AAC3B
accent
#ED3BB8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #321576

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

Preview Lab → · Contrast checker → · Palette generator →

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