#321861#321861

#321861 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.121 H 293.9°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#321861
RGBrgb(50, 24, 97)
HSLhsl(261, 60%, 24%)
HSVhsv(261, 75%, 38%)
CMYKcmyk(48.5%, 75.3%, 0%, 62%)
CIE-LABlab(16.48, 30.98, -38.63)
CIE-LCHlch(16.48, 49.51, 308.72°)
OKLaboklab(29.37% 0.0491 -0.1106)
OKLCHoklch(29.37% 0.121 293.9)
XYZxyz(3.7991, 2.1943, 11.5303)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321861 #476118
analogous
#182261 #321861 #561861
triadic
#321861 #613218 #186132
tetradic
#321861 #611822 #476118 #186156
square
#321861 #611822 #476118 #186156
split-complementary
#321861 #615618 #226118
monochromatic
#0D0619 #190C30 #321861 #4B2492 #6530C3

Accessibility & contrast

On white

14.60
#321861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#321861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321861
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321861#FFFFFF#000000##FFFFFF
##3218611.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002760
Tritanopia (blue-blind)
#242A3A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321861;
/* rgb */ color: rgb(50, 24, 97);
/* oklch */ color: oklch(29.4% 0.121 293.9);
Tailwind
colors: {
  custom: {
    50: '#6f578f',
    500: '#321861',
    950: '#000000',
  },
}
SCSS
$custom: #321861;
$custom-light: #6f578f;
$custom-dark: #000000;
JSON
{
  "hex": "#321861",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 261.37,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29366,
    "c": 0.12102,
    "h": 293.9
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#321861
secondary
#77973D
accent
#E344AB
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #321861

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

Preview Lab → · Contrast checker → · Palette generator →

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