#321570#321570

#321570 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.143 H 289.5°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#321570
RGBrgb(50, 21, 112)
HSLhsl(259, 68%, 26%)
HSVhsv(259, 81%, 44%)
CMYKcmyk(55.4%, 81.2%, 0%, 56.1%)
CIE-LABlab(17.39, 37.07, -46.98)
CIE-LCHlch(17.39, 59.84, 308.28°)
OKLaboklab(30.46% 0.0478 -0.1351)
OKLCHoklch(30.46% 0.143 289.5)
XYZxyz(4.5073, 2.3841, 15.5488)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321570 #537015
analogous
#152570 #321570 #5F1570
triadic
#321570 #703215 #157032
tetradic
#321570 #701525 #537015 #15705F
square
#321570 #701525 #537015 #15705F
split-complementary
#321570 #705F15 #257015
monochromatic
#0C051A #1B0B3C #321570 #491FA4 #6029D7

Accessibility & contrast

On white

14.22
#321570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#321570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321570
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321570#FFFFFF#000000##FFFFFF
##3215701.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#1A2F42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #321570;
/* rgb */ color: rgb(50, 21, 112);
/* oklch */ color: oklch(30.5% 0.143 289.5);
Tailwind
colors: {
  custom: {
    50: '#72569a',
    500: '#321570',
    950: '#000000',
  },
}
SCSS
$custom: #321570;
$custom-light: #72569a;
$custom-dark: #000000;
JSON
{
  "hex": "#321570",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 259.121,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30458,
    "c": 0.14327,
    "h": 289.5
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#321570
secondary
#84A63B
accent
#EB3DB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #321570

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

Preview Lab → · Contrast checker → · Palette generator →

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