#321352#321352

#321352 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.109 H 302.1°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#321352
RGBrgb(50, 19, 82)
HSLhsl(270, 62%, 20%)
HSVhsv(270, 77%, 32%)
CMYKcmyk(39%, 76.8%, 0%, 67.8%)
CIE-LABlab(14.13, 29.36, -32.36)
CIE-LCHlch(14.13, 43.70, 312.22°)
OKLaboklab(27.28% 0.0578 -0.0922)
OKLCHoklch(27.28% 0.109 302.1)
XYZxyz(3.0709, 1.7530, 8.1576)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321352 #335213
analogous
#131352 #321352 #521352
triadic
#321352 #523213 #135232
tetradic
#321352 #521313 #335213 #135252
square
#321352 #521313 #335213 #135252
split-complementary
#321352 #525213 #135213
monochromatic
#0F0619 #140720 #321352 #501F84 #6F2AB5

Accessibility & contrast

On white

15.55
#321352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#321352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321352
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321352#FFFFFF#000000##FFFFFF
##3213521.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#2B2231
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321352;
/* rgb */ color: rgb(50, 19, 82);
/* oklch */ color: oklch(27.3% 0.109 302.1);
Tailwind
colors: {
  custom: {
    50: '#6d5483',
    500: '#321352',
    950: '#000000',
  },
}
SCSS
$custom: #321352;
$custom-light: #6d5483;
$custom-dark: #000000;
JSON
{
  "hex": "#321352",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 269.524,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2728,
    "c": 0.10878,
    "h": 302.1
  },
  "luminance": 0.01753
}

Semantic roles & 50–950 ramp

primary
#321352
secondary
#618A36
accent
#E54295
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321352

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

Preview Lab → · Contrast checker → · Palette generator →

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