#321A53#321A53

#321A53 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.100 H 299.4°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#321A53
RGBrgb(50, 26, 83)
HSLhsl(265, 52%, 21%)
HSVhsv(265, 69%, 33%)
CMYKcmyk(39.8%, 68.7%, 0%, 67.5%)
CIE-LABlab(15.70, 25.56, -30.50)
CIE-LCHlch(15.70, 39.79, 309.97°)
OKLaboklab(28.43% 0.0488 -0.0867)
OKLCHoklch(28.43% 0.1 299.4)
XYZxyz(3.2457, 2.0414, 8.4050)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A53 #3B531A
analogous
#1A1F53 #321A53 #4F1A53
triadic
#321A53 #53321A #1A5332
tetradic
#321A53 #531A1F #3B531A #1A534F
square
#321A53 #531A1F #3B531A #1A534F
split-complementary
#321A53 #534F1A #1F531A
monochromatic
#0E0717 #160B24 #321A53 #4E2982 #6A37B0

Accessibility & contrast

On white

14.91
#321A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#321A53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A53
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A53#FFFFFF#000000##FFFFFF
##321A531.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002755
Deuteranopia (green-blind)
#032752
Tritanopia (blue-blind)
#2B2733
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321a53;
/* rgb */ color: rgb(50, 26, 83);
/* oklch */ color: oklch(28.4% 0.100 299.4);
Tailwind
colors: {
  custom: {
    50: '#6d5884',
    500: '#321a53',
    950: '#000000',
  },
}
SCSS
$custom: #321a53;
$custom-light: #6d5884;
$custom-dark: #000000;
JSON
{
  "hex": "#321a53",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 83
  },
  "hsl": {
    "h": 265.263,
    "s": 52.294,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28433,
    "c": 0.09951,
    "h": 299.4
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#321A53
secondary
#6A8940
accent
#DC4C9F
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321A53

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

Preview Lab → · Contrast checker → · Palette generator →

#321A53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva