#321753#321753

#321753 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.104 H 300.4°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#321753
RGBrgb(50, 23, 83)
HSLhsl(267, 57%, 21%)
HSVhsv(267, 72%, 33%)
CMYKcmyk(39.8%, 72.3%, 0%, 67.5%)
CIE-LABlab(15.04, 27.38, -31.57)
CIE-LCHlch(15.04, 41.79, 310.93°)
OKLaboklab(27.95% 0.0527 -0.0899)
OKLCHoklch(27.95% 0.104 300.4)
XYZxyz(3.1827, 1.9154, 8.3840)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321753 #385317
analogous
#171A53 #321753 #501753
triadic
#321753 #533217 #175332
tetradic
#321753 #53171A #385317 #175350
square
#321753 #53171A #385317 #175350
split-complementary
#321753 #535017 #1A5317
monochromatic
#0E0718 #150A23 #321753 #4F2483 #6C32B3

Accessibility & contrast

On white

15.18
#321753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#321753 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321753
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321753#FFFFFF#000000##FFFFFF
##3217531.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#2B2532
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321753;
/* rgb */ color: rgb(50, 23, 83);
/* oklch */ color: oklch(28.0% 0.104 300.4);
Tailwind
colors: {
  custom: {
    50: '#6d5684',
    500: '#321753',
    950: '#000000',
  },
}
SCSS
$custom: #321753;
$custom-light: #6d5684;
$custom-dark: #000000;
JSON
{
  "hex": "#321753",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 83
  },
  "hsl": {
    "h": 267,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27952,
    "c": 0.1042,
    "h": 300.4
  },
  "luminance": 0.01915
}

Semantic roles & 50–950 ramp

primary
#321753
secondary
#678A3C
accent
#E0489B
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321753

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

Preview Lab → · Contrast checker → · Palette generator →

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