#321390#321390

#321390 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.182 H 281.9°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#321390
RGBrgb(50, 19, 144)
HSLhsl(255, 77%, 32%)
HSVhsv(255, 87%, 56%)
CMYKcmyk(65.3%, 86.8%, 0%, 43.5%)
CIE-LABlab(20.66, 47.29, -61.88)
CIE-LCHlch(20.66, 77.88, 307.38°)
OKLaboklab(33.78% 0.0375 -0.1785)
OKLCHoklch(33.78% 0.182 281.9)
XYZxyz(6.5807, 3.1570, 26.6427)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321390 #719013
analogous
#133390 #321390 #711390
triadic
#321390 #903213 #139032
tetradic
#321390 #901333 #719013 #139071
square
#321390 #901333 #719013 #139071
split-complementary
#321390 #907113 #339013
monochromatic
#0C0524 #1F0C5A #321390 #451AC6 #6339E5

Accessibility & contrast

On white

12.87
#321390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#321390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321390
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321390#FFFFFF#000000##FFFFFF
##3213901.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321390;
/* rgb */ color: rgb(50, 19, 144);
/* oklch */ color: oklch(33.8% 0.182 281.9);
Tailwind
colors: {
  custom: {
    50: '#7858b2',
    500: '#321390',
    950: '#000000',
  },
}
SCSS
$custom: #321390;
$custom-light: #7858b2;
$custom-dark: #000000;
JSON
{
  "hex": "#321390",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 254.88,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33778,
    "c": 0.18241,
    "h": 281.9
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#321390
secondary
#A2C43B
accent
#F335C4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #321390

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

Preview Lab → · Contrast checker → · Palette generator →

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