#321490#321490

#321490 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.182 H 281.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#321490
RGBrgb(50, 20, 144)
HSLhsl(255, 76%, 32%)
HSVhsv(255, 86%, 56%)
CMYKcmyk(65.3%, 86.1%, 0%, 43.5%)
CIE-LABlab(20.80, 46.89, -61.66)
CIE-LCHlch(20.80, 77.47, 307.25°)
OKLaboklab(33.87% 0.037 -0.1779)
OKLCHoklch(33.87% 0.182 281.8)
XYZxyz(6.5980, 3.1915, 26.6485)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321490 #729014
analogous
#143490 #321490 #701490
triadic
#321490 #903214 #149032
tetradic
#321490 #901434 #729014 #149070
square
#321490 #901434 #729014 #149070
split-complementary
#321490 #907014 #349014
monochromatic
#0D0525 #1F0D5A #321490 #451BC6 #643BE4

Accessibility & contrast

On white

12.82
#321490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#321490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321490
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321490#FFFFFF#000000##FFFFFF
##3214901.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #321490;
/* rgb */ color: rgb(50, 20, 144);
/* oklch */ color: oklch(33.9% 0.182 281.8);
Tailwind
colors: {
  custom: {
    50: '#7858b2',
    500: '#321490',
    950: '#000000',
  },
}
SCSS
$custom: #321490;
$custom-light: #7858b2;
$custom-dark: #000000;
JSON
{
  "hex": "#321490",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 254.516,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33869,
    "c": 0.18171,
    "h": 281.8
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#321490
secondary
#A3C33D
accent
#F236C5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #321490

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

Preview Lab → · Contrast checker → · Palette generator →

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