#321983#321983

#321983 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.162 H 283.8°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#321983
RGBrgb(50, 25, 131)
HSLhsl(254, 68%, 31%)
HSVhsv(254, 81%, 51%)
CMYKcmyk(61.8%, 80.9%, 0%, 48.6%)
CIE-LABlab(20.09, 40.81, -54.68)
CIE-LCHlch(20.09, 68.23, 306.74°)
OKLaboklab(32.95% 0.0388 -0.1576)
OKLCHoklch(32.95% 0.162 283.8)
XYZxyz(5.7585, 3.0117, 21.7462)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321983 #6A8319
analogous
#193583 #321983 #671983
triadic
#321983 #833219 #198332
tetradic
#321983 #831935 #6A8319 #198367
square
#321983 #831935 #6A8319 #198367
split-complementary
#321983 #836719 #358319
monochromatic
#0B051C #1E0F50 #321983 #4623B6 #623DDA

Accessibility & contrast

On white

13.11
#321983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#321983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321983
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321983#FFFFFF#000000##FFFFFF
##3219831.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #321983;
/* rgb */ color: rgb(50, 25, 131);
/* oklch */ color: oklch(32.9% 0.162 283.8);
Tailwind
colors: {
  custom: {
    50: '#755aa8',
    500: '#321983',
    950: '#000000',
  },
}
SCSS
$custom: #321983;
$custom-light: #755aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#321983",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 254.151,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32949,
    "c": 0.16234,
    "h": 283.8
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#321983
secondary
#9BB741
accent
#EB3DC2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #321983

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

Preview Lab → · Contrast checker → · Palette generator →

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