#321561#321561

#321561 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.125 H 294.7°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#321561
RGBrgb(50, 21, 97)
HSLhsl(263, 64%, 23%)
HSVhsv(263, 78%, 38%)
CMYKcmyk(48.5%, 78.4%, 0%, 62%)
CIE-LABlab(15.89, 32.62, -39.59)
CIE-LCHlch(15.89, 51.30, 309.49°)
OKLaboklab(28.95% 0.0522 -0.1134)
OKLCHoklch(28.95% 0.125 294.7)
XYZxyz(3.7406, 2.0774, 11.5108)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321561 #446115
analogous
#151E61 #321561 #581561
triadic
#321561 #613215 #156132
tetradic
#321561 #61151E #446115 #156158
square
#321561 #61151E #446115 #156158
split-complementary
#321561 #615815 #1E6115
monochromatic
#0D0519 #180A2F #321561 #4C2093 #662BC6

Accessibility & contrast

On white

14.83
#321561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#321561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321561
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321561#FFFFFF#000000##FFFFFF
##3215611.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#002660
Tritanopia (blue-blind)
#25293A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321561;
/* rgb */ color: rgb(50, 21, 97);
/* oklch */ color: oklch(28.9% 0.125 294.7);
Tailwind
colors: {
  custom: {
    50: '#6f558f',
    500: '#321561',
    950: '#000000',
  },
}
SCSS
$custom: #321561;
$custom-light: #6f558f;
$custom-dark: #000000;
JSON
{
  "hex": "#321561",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 262.895,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2895,
    "c": 0.12484,
    "h": 294.7
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#321561
secondary
#74983A
accent
#E740A8
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321561

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

Preview Lab → · Contrast checker → · Palette generator →

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