#321350#321350

#321350 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.106 H 303.2°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#321350
RGBrgb(50, 19, 80)
HSLhsl(270, 62%, 19%)
HSVhsv(270, 76%, 31%)
CMYKcmyk(37.5%, 76.3%, 0%, 68.6%)
CIE-LABlab(13.96, 28.80, -31.27)
CIE-LCHlch(13.96, 42.52, 312.64°)
OKLaboklab(27.1% 0.0582 -0.089)
OKLCHoklch(27.1% 0.106 303.2)
XYZxyz(2.9959, 1.7230, 7.7626)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321350 #315013
analogous
#141350 #321350 #501350
triadic
#321350 #503213 #135032
tetradic
#321350 #501413 #315013 #135050
square
#321350 #501413 #315013 #135050
split-complementary
#321350 #505013 #135014
monochromatic
#0F0619 #13071F #321350 #511F81 #702AB3

Accessibility & contrast

On white

15.62
#321350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#321350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321350
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321350#FFFFFF#000000##FFFFFF
##3213501.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#2C2130
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321350;
/* rgb */ color: rgb(50, 19, 80);
/* oklch */ color: oklch(27.1% 0.106 303.2);
Tailwind
colors: {
  custom: {
    50: '#6d5382',
    500: '#321350',
    950: '#000000',
  },
}
SCSS
$custom: #321350;
$custom-light: #6d5382;
$custom-dark: #000000;
JSON
{
  "hex": "#321350",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 270.492,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27102,
    "c": 0.10629,
    "h": 303.2
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#321350
secondary
#5F8936
accent
#E54393
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07030A
muted
#7A787C

Preview Lab

Preview with #321350

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

Preview Lab → · Contrast checker → · Palette generator →

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