#321890#321890

#321890 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.3% C 0.179 H 281.3°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#321890
RGBrgb(50, 24, 144)
HSLhsl(253, 71%, 33%)
HSVhsv(253, 83%, 56%)
CMYKcmyk(65.3%, 83.3%, 0%, 43.5%)
CIE-LABlab(21.37, 45.19, -60.71)
CIE-LCHlch(21.37, 75.68, 306.66°)
OKLaboklab(34.27% 0.0351 -0.1752)
OKLCHoklch(34.27% 0.179 281.3)
XYZxyz(6.6745, 3.3445, 26.6740)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321890 #769018
analogous
#183A90 #321890 #6E1890
triadic
#321890 #903218 #189032
tetradic
#321890 #90183A #769018 #18906E
square
#321890 #90183A #769018 #18906E
split-complementary
#321890 #906E18 #3A9018
monochromatic
#0E0727 #200F5C #321890 #4421C4 #6543E0

Accessibility & contrast

On white

12.58
#321890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321890
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321890#FFFFFF#000000##FFFFFF
##3218901.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321890;
/* rgb */ color: rgb(50, 24, 144);
/* oklch */ color: oklch(34.3% 0.179 281.3);
Tailwind
colors: {
  custom: {
    50: '#785ab2',
    500: '#321890',
    950: '#000000',
  },
}
SCSS
$custom: #321890;
$custom-light: #785ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#321890",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 253,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34267,
    "c": 0.17865,
    "h": 281.3
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#321890
secondary
#A5C043
accent
#EE3AC7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #321890

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

Preview Lab → · Contrast checker → · Palette generator →

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