#321889#321889

#321889 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.170 H 282.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#321889
RGBrgb(50, 24, 137)
HSLhsl(254, 70%, 32%)
HSVhsv(254, 82%, 54%)
CMYKcmyk(63.5%, 82.5%, 0%, 46.3%)
CIE-LABlab(20.58, 43.10, -57.64)
CIE-LCHlch(20.58, 71.97, 306.79°)
OKLaboklab(33.49% 0.0375 -0.1662)
OKLCHoklch(33.49% 0.17 282.7)
XYZxyz(6.1560, 3.1371, 23.9432)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321889 #6F8918
analogous
#183789 #321889 #6B1889
triadic
#321889 #893218 #188932
tetradic
#321889 #891837 #6F8918 #18896B
square
#321889 #891837 #6F8918 #18896B
split-complementary
#321889 #896B18 #378918
monochromatic
#0C0621 #1F0F55 #321889 #4521BD #633EDD

Accessibility & contrast

On white

12.90
#321889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#321889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321889
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321889#FFFFFF#000000##FFFFFF
##3218891.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #321889;
/* rgb */ color: rgb(50, 24, 137);
/* oklch */ color: oklch(33.5% 0.170 282.7);
Tailwind
colors: {
  custom: {
    50: '#765aad',
    500: '#321889',
    950: '#000000',
  },
}
SCSS
$custom: #321889;
$custom-light: #765aad;
$custom-dark: #000000;
JSON
{
  "hex": "#321889",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 253.805,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33489,
    "c": 0.17042,
    "h": 282.7
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#321889
secondary
#A0BD40
accent
#ED3BC4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #321889

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

Preview Lab → · Contrast checker → · Palette generator →

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