#321590#321590

#321590 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 34.0% C 0.181 H 281.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#321590
RGBrgb(50, 21, 144)
HSLhsl(254, 75%, 32%)
HSVhsv(254, 85%, 56%)
CMYKcmyk(65.3%, 85.4%, 0%, 43.5%)
CIE-LABlab(20.93, 46.48, -61.43)
CIE-LCHlch(20.93, 77.04, 307.11°)
OKLaboklab(33.96% 0.0366 -0.1772)
OKLCHoklch(33.96% 0.181 281.7)
XYZxyz(6.6160, 3.2276, 26.6545)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321590 #739015
analogous
#153690 #321590 #6F1590
triadic
#321590 #903215 #159032
tetradic
#321590 #901536 #739015 #15906F
square
#321590 #901536 #739015 #15906F
split-complementary
#321590 #906F15 #369015
monochromatic
#0D0525 #1F0D5B #321590 #451DC5 #643DE3

Accessibility & contrast

On white

12.76
#321590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#321590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321590
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321590#FFFFFF#000000##FFFFFF
##3215901.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003C55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #321590;
/* rgb */ color: rgb(50, 21, 144);
/* oklch */ color: oklch(34.0% 0.181 281.7);
Tailwind
colors: {
  custom: {
    50: '#7859b2',
    500: '#321590',
    950: '#000000',
  },
}
SCSS
$custom: #321590;
$custom-light: #7859b2;
$custom-dark: #000000;
JSON
{
  "hex": "#321590",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 254.146,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33964,
    "c": 0.18098,
    "h": 281.7
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#321590
secondary
#A3C23E
accent
#F137C5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #321590

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

Preview Lab → · Contrast checker → · Palette generator →

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