#321960#321960

#321960 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.118 H 294.0°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#321960
RGBrgb(50, 25, 96)
HSLhsl(261, 59%, 24%)
HSVhsv(261, 74%, 38%)
CMYKcmyk(47.9%, 74%, 0%, 62.4%)
CIE-LABlab(16.59, 30.10, -37.78)
CIE-LCHlch(16.59, 48.30, 308.54°)
OKLaboklab(29.42% 0.0482 -0.1081)
OKLCHoklch(29.42% 0.118 294)
XYZxyz(3.7738, 2.2178, 11.2933)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321960 #476019
analogous
#192360 #321960 #551960
triadic
#321960 #603219 #196032
tetradic
#321960 #601923 #476019 #196055
square
#321960 #601923 #476019 #196055
split-complementary
#321960 #605519 #236019
monochromatic
#0D0618 #190C2F #321960 #4B2691 #6532C1

Accessibility & contrast

On white

14.55
#321960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321960
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321960#FFFFFF#000000##FFFFFF
##3219601.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#252B3A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321960;
/* rgb */ color: rgb(50, 25, 96);
/* oklch */ color: oklch(29.4% 0.118 294.0);
Tailwind
colors: {
  custom: {
    50: '#6f588e',
    500: '#321960',
    950: '#000000',
  },
}
SCSS
$custom: #321960;
$custom-light: #6f588e;
$custom-dark: #000000;
JSON
{
  "hex": "#321960",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 261.127,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2942,
    "c": 0.11837,
    "h": 294
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#321960
secondary
#77963F
accent
#E246AB
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321960

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

Preview Lab → · Contrast checker → · Palette generator →

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