#321661#321661

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

Color values

HEX#321661
RGBrgb(50, 22, 97)
HSLhsl(262, 63%, 23%)
HSVhsv(262, 77%, 38%)
CMYKcmyk(48.5%, 77.3%, 0%, 62%)
CIE-LABlab(16.08, 32.09, -39.28)
CIE-LCHlch(16.08, 50.72, 309.25°)
OKLaboklab(29.09% 0.0512 -0.1125)
OKLCHoklch(29.09% 0.124 294.5)
XYZxyz(3.7594, 2.1149, 11.5171)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321661 #456116
analogous
#161F61 #321661 #571661
triadic
#321661 #613216 #166132
tetradic
#321661 #61161F #456116 #166157
square
#321661 #61161F #456116 #166157
split-complementary
#321661 #615716 #1F6116
monochromatic
#0D0619 #180B2F #321661 #4C2193 #652DC5

Accessibility & contrast

On white

14.76
#321661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#321661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321661
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321661#FFFFFF#000000##FFFFFF
##3216611.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002760
Tritanopia (blue-blind)
#24293A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321661;
/* rgb */ color: rgb(50, 22, 97);
/* oklch */ color: oklch(29.1% 0.124 294.5);
Tailwind
colors: {
  custom: {
    50: '#6f568f',
    500: '#321661',
    950: '#000000',
  },
}
SCSS
$custom: #321661;
$custom-light: #6f568f;
$custom-dark: #000000;
JSON
{
  "hex": "#321661",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 262.4,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29085,
    "c": 0.1236,
    "h": 294.5
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#321661
secondary
#75983B
accent
#E642A9
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321661

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

Preview Lab → · Contrast checker → · Palette generator →

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