#321053#321053

#321053 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.114 H 302.3°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#321053
RGBrgb(50, 16, 83)
HSLhsl(270, 68%, 19%)
HSVhsv(270, 81%, 33%)
CMYKcmyk(39.8%, 80.7%, 0%, 67.5%)
CIE-LABlab(13.67, 31.20, -33.80)
CIE-LCHlch(13.67, 46.00, 312.72°)
OKLaboklab(26.98% 0.0609 -0.0964)
OKLCHoklch(26.98% 0.114 302.3)
XYZxyz(3.0616, 1.6732, 8.3436)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321053 #315310
analogous
#111053 #321053 #531053
triadic
#321053 #533210 #105332
tetradic
#321053 #531110 #315310 #105353
square
#321053 #531110 #315310 #105353
split-complementary
#321053 #535310 #105311
monochromatic
#0F051A #130620 #321053 #511A86 #7024BA

Accessibility & contrast

On white

15.74
#321053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#321053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321053
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321053#FFFFFF#000000##FFFFFF
##3210531.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#2B2130
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321053;
/* rgb */ color: rgb(50, 16, 83);
/* oklch */ color: oklch(27.0% 0.114 302.3);
Tailwind
colors: {
  custom: {
    50: '#6e5284',
    500: '#321053',
    950: '#000000',
  },
}
SCSS
$custom: #321053;
$custom-light: #6e5284;
$custom-dark: #000000;
JSON
{
  "hex": "#321053",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 270.448,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26979,
    "c": 0.11402,
    "h": 302.3
  },
  "luminance": 0.01673
}

Semantic roles & 50–950 ramp

primary
#321053
secondary
#5F8D32
accent
#EB3D93
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #321053

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

Preview Lab → · Contrast checker → · Palette generator →

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