#321650#321650

#321650 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.102 H 302.3°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#321650
RGBrgb(50, 22, 80)
HSLhsl(269, 57%, 20%)
HSVhsv(269, 73%, 31%)
CMYKcmyk(37.5%, 72.5%, 0%, 68.6%)
CIE-LABlab(14.57, 27.10, -30.28)
CIE-LCHlch(14.57, 40.63, 311.83°)
OKLaboklab(27.54% 0.0544 -0.0861)
OKLCHoklch(27.54% 0.102 302.3)
XYZxyz(3.0499, 1.8311, 7.7806)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321650 #345016
analogous
#161750 #321650 #4F1650
triadic
#321650 #503216 #165032
tetradic
#321650 #501617 #345016 #16504F
square
#321650 #501617 #345016 #16504F
split-complementary
#321650 #504F16 #175016
monochromatic
#0F0718 #140920 #321650 #502380 #6E30B0

Accessibility & contrast

On white

15.37
#321650 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#321650 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321650
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321650#FFFFFF#000000##FFFFFF
##3216501.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#01254F
Tritanopia (blue-blind)
#2C2330
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321650;
/* rgb */ color: rgb(50, 22, 80);
/* oklch */ color: oklch(27.5% 0.102 302.3);
Tailwind
colors: {
  custom: {
    50: '#6d5581',
    500: '#321650',
    950: '#000000',
  },
}
SCSS
$custom: #321650;
$custom-light: #6d5581;
$custom-dark: #000000;
JSON
{
  "hex": "#321650",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 80
  },
  "hsl": {
    "h": 268.966,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.27542,
    "c": 0.10182,
    "h": 302.3
  },
  "luminance": 0.01831
}

Semantic roles & 50–950 ramp

primary
#321650
secondary
#62873A
accent
#E04897
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #321650

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

Preview Lab → · Contrast checker → · Palette generator →

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