#321973#321973

#321973 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.143 H 287.8°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#321973
RGBrgb(50, 25, 115)
HSLhsl(257, 64%, 27%)
HSVhsv(257, 78%, 45%)
CMYKcmyk(56.5%, 78.3%, 0%, 54.9%)
CIE-LABlab(18.41, 35.92, -47.23)
CIE-LCHlch(18.41, 59.34, 307.26°)
OKLaboklab(31.27% 0.0436 -0.1358)
OKLCHoklch(31.27% 0.143 287.8)
XYZxyz(4.7566, 2.6109, 16.4697)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321973 #5A7319
analogous
#192D73 #321973 #5F1973
triadic
#321973 #733219 #197332
tetradic
#321973 #73192D #5A7319 #19735F
square
#321973 #73192D #5A7319 #19735F
split-complementary
#321973 #735F19 #2D7319
monochromatic
#0B0519 #1C0E41 #321973 #4824A5 #6034D3

Accessibility & contrast

On white

13.80
#321973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#321973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321973
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321973#FFFFFF#000000##FFFFFF
##3219731.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#173245
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #321973;
/* rgb */ color: rgb(50, 25, 115);
/* oklch */ color: oklch(31.3% 0.143 287.8);
Tailwind
colors: {
  custom: {
    50: '#72599c',
    500: '#321973',
    950: '#000000',
  },
}
SCSS
$custom: #321973;
$custom-light: #72599c;
$custom-dark: #000000;
JSON
{
  "hex": "#321973",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 256.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31271,
    "c": 0.14268,
    "h": 287.8
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#321973
secondary
#8BA840
accent
#E741B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321973

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

Preview Lab → · Contrast checker → · Palette generator →

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