#321967#321967

#321967 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.1% C 0.127 H 291.5°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#321967
RGBrgb(50, 25, 103)
HSLhsl(259, 61%, 25%)
HSVhsv(259, 76%, 40%)
CMYKcmyk(51.5%, 75.7%, 0%, 59.6%)
CIE-LABlab(17.24, 32.24, -41.34)
CIE-LCHlch(17.24, 52.43, 307.95°)
OKLaboklab(30.08% 0.0467 -0.1186)
OKLCHoklch(30.08% 0.127 291.5)
XYZxyz(4.1105, 2.3525, 13.0668)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321967 #4E6719
analogous
#192767 #321967 #591967
triadic
#321967 #673219 #196732
tetradic
#321967 #671927 #4E6719 #196759
square
#321967 #671927 #4E6719 #196759
split-complementary
#321967 #675919 #276719
monochromatic
#0C0619 #1A0D36 #321967 #4A2598 #6231C9

Accessibility & contrast

On white

14.28
#321967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#321967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321967
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321967#FFFFFF#000000##FFFFFF
##3219671.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#212D3E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321967;
/* rgb */ color: rgb(50, 25, 103);
/* oklch */ color: oklch(30.1% 0.127 291.5);
Tailwind
colors: {
  custom: {
    50: '#705893',
    500: '#321967',
    950: '#000000',
  },
}
SCSS
$custom: #321967;
$custom-light: #705893;
$custom-dark: #000000;
JSON
{
  "hex": "#321967",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 259.231,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30081,
    "c": 0.12746,
    "h": 291.5
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#321967
secondary
#7F9D3F
accent
#E444B1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321967

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

Preview Lab → · Contrast checker → · Palette generator →

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