#321660#321660

#321660 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.122 H 294.8°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#321660
RGBrgb(50, 22, 96)
HSLhsl(263, 63%, 23%)
HSVhsv(263, 77%, 38%)
CMYKcmyk(47.9%, 77.1%, 0%, 62.4%)
CIE-LABlab(15.99, 31.79, -38.77)
CIE-LCHlch(15.99, 50.13, 309.35°)
OKLaboklab(28.99% 0.0514 -0.111)
OKLCHoklch(28.99% 0.122 294.8)
XYZxyz(3.7131, 2.0964, 11.2731)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321660 #446016
analogous
#161F60 #321660 #571660
triadic
#321660 #603216 #166032
tetradic
#321660 #60161F #446016 #166057
square
#321660 #60161F #446016 #166057
split-complementary
#321660 #605716 #1F6016
monochromatic
#0D0619 #180B2E #321660 #4C2192 #662DC4

Accessibility & contrast

On white

14.80
#321660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321660
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321660#FFFFFF#000000##FFFFFF
##3216601.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#252939
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321660;
/* rgb */ color: rgb(50, 22, 96);
/* oklch */ color: oklch(29.0% 0.122 294.8);
Tailwind
colors: {
  custom: {
    50: '#6f568e',
    500: '#321660',
    950: '#000000',
  },
}
SCSS
$custom: #321660;
$custom-light: #6f568e;
$custom-dark: #000000;
JSON
{
  "hex": "#321660",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 262.703,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28989,
    "c": 0.12234,
    "h": 294.8
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#321660
secondary
#74973B
accent
#E642A8
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321660

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

Preview Lab → · Contrast checker → · Palette generator →

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