#321993#321993

#321993 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.181 H 280.7°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#321993
RGBrgb(50, 25, 147)
HSLhsl(252, 71%, 34%)
HSVhsv(252, 83%, 58%)
CMYKcmyk(66%, 83%, 0%, 42.4%)
CIE-LABlab(21.87, 45.63, -61.75)
CIE-LCHlch(21.87, 76.78, 306.46°)
OKLaboklab(34.71% 0.0336 -0.1782)
OKLCHoklch(34.71% 0.181 280.7)
XYZxyz(6.9278, 3.4794, 27.9046)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321993 #7A9319
analogous
#193D93 #321993 #6F1993
triadic
#321993 #933219 #199332
tetradic
#321993 #93193D #7A9319 #19936F
square
#321993 #93193D #7A9319 #19936F
split-complementary
#321993 #936F19 #3D9319
monochromatic
#0E072A #20105F #321993 #4422C7 #6647E0

Accessibility & contrast

On white

12.38
#321993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#321993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321993
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321993#FFFFFF#000000##FFFFFF
##3219931.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #321993;
/* rgb */ color: rgb(50, 25, 147);
/* oklch */ color: oklch(34.7% 0.181 280.7);
Tailwind
colors: {
  custom: {
    50: '#785bb4',
    500: '#321993',
    950: '#000000',
  },
}
SCSS
$custom: #321993;
$custom-light: #785bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#321993",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 252.295,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3471,
    "c": 0.18135,
    "h": 280.7
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#321993
secondary
#A8C147
accent
#EE3AC9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #321993

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

Preview Lab → · Contrast checker → · Palette generator →

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