#321665#321665

#321665 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.129 H 292.9°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#321665
RGBrgb(50, 22, 101)
HSLhsl(261, 64%, 24%)
HSVhsv(261, 78%, 40%)
CMYKcmyk(50.5%, 78.2%, 0%, 60.4%)
CIE-LABlab(16.46, 33.28, -41.30)
CIE-LCHlch(16.46, 53.04, 308.86°)
OKLaboklab(29.47% 0.0501 -0.1184)
OKLCHoklch(29.47% 0.129 292.9)
XYZxyz(3.9506, 2.1914, 12.5242)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321665 #496516
analogous
#162265 #321665 #5A1665
triadic
#321665 #653216 #166532
tetradic
#321665 #651622 #496516 #16655A
square
#321665 #651622 #496516 #16655A
split-complementary
#321665 #655A16 #226516
monochromatic
#0C0519 #190B33 #321665 #4B2197 #642CCA

Accessibility & contrast

On white

14.60
#321665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#321665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321665
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321665#FFFFFF#000000##FFFFFF
##3216651.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#222B3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321665;
/* rgb */ color: rgb(50, 22, 101);
/* oklch */ color: oklch(29.5% 0.129 292.9);
Tailwind
colors: {
  custom: {
    50: '#705692',
    500: '#321665',
    950: '#000000',
  },
}
SCSS
$custom: #321665;
$custom-light: #705692;
$custom-dark: #000000;
JSON
{
  "hex": "#321665",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 261.266,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29472,
    "c": 0.12862,
    "h": 292.9
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#321665
secondary
#799C3B
accent
#E741AC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321665

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

Preview Lab → · Contrast checker → · Palette generator →

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