#321376#321376

#321376 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.152 H 288.0°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#321376
RGBrgb(50, 19, 118)
HSLhsl(259, 72%, 27%)
HSVhsv(259, 84%, 46%)
CMYKcmyk(57.6%, 83.9%, 0%, 53.7%)
CIE-LABlab(17.70, 39.79, -50.34)
CIE-LCHlch(17.70, 64.16, 308.32°)
OKLaboklab(30.87% 0.0472 -0.1449)
OKLCHoklch(30.87% 0.152 288)
XYZxyz(4.8173, 2.4516, 17.3554)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321376 #577613
analogous
#132676 #321376 #641376
triadic
#321376 #763213 #137632
tetradic
#321376 #761326 #577613 #137664
square
#321376 #761326 #577613 #137664
split-complementary
#321376 #766413 #267613
monochromatic
#0B041A #1C0B41 #321376 #481BAB #6027DC

Accessibility & contrast

On white

14.09
#321376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#321376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321376
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321376#FFFFFF#000000##FFFFFF
##3213761.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321376;
/* rgb */ color: rgb(50, 19, 118);
/* oklch */ color: oklch(30.9% 0.152 288.0);
Tailwind
colors: {
  custom: {
    50: '#73569f',
    500: '#321376',
    950: '#000000',
  },
}
SCSS
$custom: #321376;
$custom-light: #73569f;
$custom-dark: #000000;
JSON
{
  "hex": "#321376",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 258.788,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30867,
    "c": 0.15237,
    "h": 288
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#321376
secondary
#88AC39
accent
#EF39B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #321376

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

Preview Lab → · Contrast checker → · Palette generator →

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