#321693#321693

#321693 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.184 H 281.0°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#321693
RGBrgb(50, 22, 147)
HSLhsl(253, 74%, 33%)
HSVhsv(253, 85%, 58%)
CMYKcmyk(66%, 85%, 0%, 42.4%)
CIE-LABlab(21.42, 46.94, -62.48)
CIE-LCHlch(21.42, 78.15, 306.91°)
OKLaboklab(34.4% 0.035 -0.1803)
OKLCHoklch(34.4% 0.184 281)
XYZxyz(6.8671, 3.3580, 27.8844)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321693 #779316
analogous
#163893 #321693 #701693
triadic
#321693 #933216 #169332
tetradic
#321693 #931638 #779316 #169370
square
#321693 #931638 #779316 #169370
split-complementary
#321693 #937016 #389316
monochromatic
#0E0629 #200E5E #321693 #441EC8 #6541E3

Accessibility & contrast

On white

12.56
#321693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#321693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321693
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321693#FFFFFF#000000##FFFFFF
##3216931.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002F91
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #321693;
/* rgb */ color: rgb(50, 22, 147);
/* oklch */ color: oklch(34.4% 0.184 281.0);
Tailwind
colors: {
  custom: {
    50: '#7959b4',
    500: '#321693',
    950: '#000000',
  },
}
SCSS
$custom: #321693;
$custom-light: #7959b4;
$custom-dark: #000000;
JSON
{
  "hex": "#321693",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 253.44,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34403,
    "c": 0.18368,
    "h": 281
  },
  "luminance": 0.03359
}

Semantic roles & 50–950 ramp

primary
#321693
secondary
#A6C342
accent
#F137C7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #321693

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

Preview Lab → · Contrast checker → · Palette generator →

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