#321550#321550

#321550 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.103 H 302.6°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#321550
RGBrgb(50, 21, 80)
HSLhsl(269, 58%, 20%)
HSVhsv(269, 74%, 31%)
CMYKcmyk(37.5%, 73.7%, 0%, 68.6%)
CIE-LABlab(14.36, 27.68, -30.62)
CIE-LCHlch(14.36, 41.28, 312.11°)
OKLaboklab(27.39% 0.0557 -0.0871)
OKLCHoklch(27.39% 0.103 302.6)
XYZxyz(3.0312, 1.7936, 7.7744)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321550 #335015
analogous
#151550 #321550 #501550
triadic
#321550 #503215 #155032
tetradic
#321550 #501515 #335015 #155050
square
#321550 #501515 #335015 #155050
split-complementary
#321550 #505015 #155015
monochromatic
#0F0618 #140820 #321550 #502280 #6F2EB1

Accessibility & contrast

On white

15.45
#321550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#321550 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321550
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321550#FFFFFF#000000##FFFFFF
##3215501.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#00244F
Tritanopia (blue-blind)
#2C2230
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321550;
/* rgb */ color: rgb(50, 21, 80);
/* oklch */ color: oklch(27.4% 0.103 302.6);
Tailwind
colors: {
  custom: {
    50: '#6d5582',
    500: '#321550',
    950: '#000000',
  },
}
SCSS
$custom: #321550;
$custom-light: #6d5582;
$custom-dark: #000000;
JSON
{
  "hex": "#321550",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 80
  },
  "hsl": {
    "h": 269.492,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27391,
    "c": 0.10334,
    "h": 302.6
  },
  "luminance": 0.01794
}

Semantic roles & 50–950 ramp

primary
#321550
secondary
#618839
accent
#E24695
background
#F6F5F7
surface
#ECE8EE
border
#C7C4C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #321550

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

Preview Lab → · Contrast checker → · Palette generator →

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