#321560#321560

#321560 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.124 H 295.1°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#321560
RGBrgb(50, 21, 96)
HSLhsl(263, 64%, 23%)
HSVhsv(263, 78%, 38%)
CMYKcmyk(47.9%, 78.1%, 0%, 62.4%)
CIE-LABlab(15.79, 32.33, -39.08)
CIE-LCHlch(15.79, 50.72, 309.60°)
OKLaboklab(28.85% 0.0524 -0.1119)
OKLCHoklch(28.85% 0.124 295.1)
XYZxyz(3.6943, 2.0589, 11.2668)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321560 #436015
analogous
#151D60 #321560 #571560
triadic
#321560 #603215 #156032
tetradic
#321560 #60151D #436015 #156057
square
#321560 #60151D #436015 #156057
split-complementary
#321560 #605715 #1D6015
monochromatic
#0D0519 #180A2E #321560 #4C2092 #662BC4

Accessibility & contrast

On white

14.87
#321560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#321560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321560
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321560#FFFFFF#000000##FFFFFF
##3215601.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#252939
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321560;
/* rgb */ color: rgb(50, 21, 96);
/* oklch */ color: oklch(28.9% 0.124 295.1);
Tailwind
colors: {
  custom: {
    50: '#6f558e',
    500: '#321560',
    950: '#000000',
  },
}
SCSS
$custom: #321560;
$custom-light: #6f558e;
$custom-dark: #000000;
JSON
{
  "hex": "#321560",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 263.2,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28853,
    "c": 0.1236,
    "h": 295.1
  },
  "luminance": 0.02059
}

Semantic roles & 50–950 ramp

primary
#321560
secondary
#73973A
accent
#E741A7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321560

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

Preview Lab → · Contrast checker → · Palette generator →

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