#321767#321767

#321767 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.130 H 292.0°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#321767
RGBrgb(50, 23, 103)
HSLhsl(260, 63%, 25%)
HSVhsv(260, 78%, 40%)
CMYKcmyk(51.5%, 77.7%, 0%, 59.6%)
CIE-LABlab(16.84, 33.34, -41.99)
CIE-LCHlch(16.84, 53.62, 308.45°)
OKLaboklab(29.8% 0.0487 -0.1205)
OKLCHoklch(29.8% 0.13 292)
XYZxyz(4.0693, 2.2700, 13.0531)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321767 #4C6717
analogous
#172467 #321767 #5A1767
triadic
#321767 #673217 #176732
tetradic
#321767 #671724 #4C6717 #17675A
square
#321767 #671724 #4C6717 #17675A
split-complementary
#321767 #675A17 #246717
monochromatic
#0C0619 #1A0C35 #321767 #4A2299 #632DCB

Accessibility & contrast

On white

14.44
#321767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#321767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321767
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321767#FFFFFF#000000##FFFFFF
##3217671.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002865
Tritanopia (blue-blind)
#212C3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #321767;
/* rgb */ color: rgb(50, 23, 103);
/* oklch */ color: oklch(29.8% 0.130 292.0);
Tailwind
colors: {
  custom: {
    50: '#705793',
    500: '#321767',
    950: '#000000',
  },
}
SCSS
$custom: #321767;
$custom-light: #705793;
$custom-dark: #000000;
JSON
{
  "hex": "#321767",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 260.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29803,
    "c": 0.12992,
    "h": 292
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#321767
secondary
#7D9D3D
accent
#E741AF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321767

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

Preview Lab → · Contrast checker → · Palette generator →

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