#321893#321893

#321893 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.182 H 280.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#321893
RGBrgb(50, 24, 147)
HSLhsl(253, 72%, 34%)
HSVhsv(253, 84%, 58%)
CMYKcmyk(66%, 83.7%, 0%, 42.4%)
CIE-LABlab(21.72, 46.08, -62.00)
CIE-LCHlch(21.72, 77.25, 306.62°)
OKLaboklab(34.6% 0.0341 -0.1789)
OKLCHoklch(34.6% 0.182 280.8)
XYZxyz(6.9068, 3.4374, 27.8976)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321893 #799318
analogous
#183B93 #321893 #6F1893
triadic
#321893 #933218 #189332
tetradic
#321893 #93183B #799318 #18936F
square
#321893 #93183B #799318 #18936F
split-complementary
#321893 #936F18 #3B9318
monochromatic
#0E072A #200F5E #321893 #4421C8 #6645E1

Accessibility & contrast

On white

12.44
#321893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#321893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321893
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321893#FFFFFF#000000##FFFFFF
##3218931.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321893;
/* rgb */ color: rgb(50, 24, 147);
/* oklch */ color: oklch(34.6% 0.182 280.8);
Tailwind
colors: {
  custom: {
    50: '#795ab4',
    500: '#321893',
    950: '#000000',
  },
}
SCSS
$custom: #321893;
$custom-light: #795ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#321893",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 252.683,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34604,
    "c": 0.18215,
    "h": 280.8
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#321893
secondary
#A7C245
accent
#EF39C8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #321893

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

Preview Lab → · Contrast checker → · Palette generator →

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