#321553#321553

#321553 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.107 H 301.0°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#321553
RGBrgb(50, 21, 83)
HSLhsl(268, 60%, 20%)
HSVhsv(268, 75%, 33%)
CMYKcmyk(39.8%, 74.7%, 0%, 67.5%)
CIE-LABlab(14.62, 28.54, -32.25)
CIE-LCHlch(14.62, 43.06, 311.50°)
OKLaboklab(27.65% 0.0552 -0.0919)
OKLCHoklch(27.65% 0.107 301)
XYZxyz(3.1445, 1.8390, 8.3712)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321553 #365315
analogous
#151753 #321553 #511553
triadic
#321553 #533215 #155332
tetradic
#321553 #531517 #365315 #155351
square
#321553 #531517 #365315 #155351
split-complementary
#321553 #535115 #175315
monochromatic
#0F0618 #150922 #321553 #4F2184 #6D2EB5

Accessibility & contrast

On white

15.35
#321553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#321553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321553
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321553#FFFFFF#000000##FFFFFF
##3215531.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#2B2432
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321553;
/* rgb */ color: rgb(50, 21, 83);
/* oklch */ color: oklch(27.7% 0.107 301.0);
Tailwind
colors: {
  custom: {
    50: '#6d5584',
    500: '#321553',
    950: '#000000',
  },
}
SCSS
$custom: #321553;
$custom-light: #6d5584;
$custom-dark: #000000;
JSON
{
  "hex": "#321553",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 268.065,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27652,
    "c": 0.10718,
    "h": 301
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#321553
secondary
#658B39
accent
#E34599
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321553

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

Preview Lab → · Contrast checker → · Palette generator →

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