#321690#321690

#321690 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.180 H 281.6°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#321690
RGBrgb(50, 22, 144)
HSLhsl(254, 73%, 33%)
HSVhsv(254, 85%, 56%)
CMYKcmyk(65.3%, 84.7%, 0%, 43.5%)
CIE-LABlab(21.08, 46.07, -61.20)
CIE-LCHlch(21.08, 76.60, 306.97°)
OKLaboklab(34.06% 0.0361 -0.1766)
OKLCHoklch(34.06% 0.18 281.6)
XYZxyz(6.6348, 3.2650, 26.6607)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321690 #749016
analogous
#163790 #321690 #6F1690
triadic
#321690 #903216 #169032
tetradic
#321690 #901637 #749016 #16906F
square
#321690 #901637 #749016 #16906F
split-complementary
#321690 #906F16 #379016
monochromatic
#0D0626 #200E5B #321690 #441EC5 #643FE2

Accessibility & contrast

On white

12.70
#321690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#321690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321690
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321690#FFFFFF#000000##FFFFFF
##3216901.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #321690;
/* rgb */ color: rgb(50, 22, 144);
/* oklch */ color: oklch(34.1% 0.180 281.6);
Tailwind
colors: {
  custom: {
    50: '#7859b2',
    500: '#321690',
    950: '#000000',
  },
}
SCSS
$custom: #321690;
$custom-light: #7859b2;
$custom-dark: #000000;
JSON
{
  "hex": "#321690",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 253.77,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34061,
    "c": 0.18023,
    "h": 281.6
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#321690
secondary
#A4C240
accent
#F038C6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #321690

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

Preview Lab → · Contrast checker → · Palette generator →

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