#321841#321841

#321841 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.7% C 0.078 H 311.5°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#321841
RGBrgb(50, 24, 65)
HSLhsl(278, 46%, 17%)
HSVhsv(278, 63%, 25%)
CMYKcmyk(23.1%, 63.1%, 0%, 74.5%)
CIE-LABlab(13.90, 21.68, -20.98)
CIE-LCHlch(13.90, 30.17, 315.95°)
OKLaboklab(26.69% 0.052 -0.0588)
OKLCHoklch(26.69% 0.078 311.5)
XYZxyz(2.5960, 1.7131, 5.1939)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321841 #274118
analogous
#1E1841 #321841 #41183B
triadic
#321841 #413218 #184132
tetradic
#321841 #411E18 #274118 #183B41
square
#321841 #411E18 #274118 #183B41
split-complementary
#321841 #3B4118 #18411E
monochromatic
#110816 #110816 #321841 #54296E #77399A

Accessibility & contrast

On white

15.64
#321841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#321841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321841
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321841#FFFFFF#000000##FFFFFF
##3218411.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2242
Deuteranopia (green-blind)
#152440
Tritanopia (blue-blind)
#301F29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321841;
/* rgb */ color: rgb(50, 24, 65);
/* oklch */ color: oklch(26.7% 0.078 311.5);
Tailwind
colors: {
  custom: {
    50: '#6b5676',
    500: '#321841',
    950: '#000000',
  },
}
SCSS
$custom: #321841;
$custom-light: #6b5676;
$custom-dark: #000000;
JSON
{
  "hex": "#321841",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 278.049,
    "s": 46.067,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26694,
    "c": 0.07849,
    "h": 311.5
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#321841
secondary
#53783D
accent
#D65282
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #321841

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

Preview Lab → · Contrast checker → · Palette generator →

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