#321A73#321A73

#321A73 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.142 H 287.6°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#321A73
RGBrgb(50, 26, 115)
HSLhsl(256, 63%, 28%)
HSVhsv(256, 77%, 45%)
CMYKcmyk(56.5%, 77.4%, 0%, 54.9%)
CIE-LABlab(18.60, 35.38, -46.92)
CIE-LCHlch(18.60, 58.76, 307.02°)
OKLaboklab(31.41% 0.0428 -0.1349)
OKLCHoklch(31.41% 0.142 287.6)
XYZxyz(4.7784, 2.6545, 16.4769)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A73 #5B731A
analogous
#1A2E73 #321A73 #5F1A73
triadic
#321A73 #73321A #1A7332
tetradic
#321A73 #731A2E #5B731A #1A735F
square
#321A73 #731A2E #5B731A #1A735F
split-complementary
#321A73 #735F1A #2E731A
monochromatic
#0B0619 #1C0F41 #321A73 #4825A5 #6036D2

Accessibility & contrast

On white

13.72
#321A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#321A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A73
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A73#FFFFFF#000000##FFFFFF
##321A731.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321a73;
/* rgb */ color: rgb(50, 26, 115);
/* oklch */ color: oklch(31.4% 0.142 287.6);
Tailwind
colors: {
  custom: {
    50: '#72599c',
    500: '#321a73',
    950: '#000000',
  },
}
SCSS
$custom: #321a73;
$custom-light: #72599c;
$custom-dark: #000000;
JSON
{
  "hex": "#321a73",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 256.18,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31405,
    "c": 0.14155,
    "h": 287.6
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#321A73
secondary
#8CA841
accent
#E642BA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #321A73

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

Preview Lab → · Contrast checker → · Palette generator →

#321A73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva