#321646#321646

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

Color values

HEX#321646
RGBrgb(50, 22, 70)
HSLhsl(275, 52%, 18%)
HSVhsv(275, 69%, 27%)
CMYKcmyk(28.6%, 68.6%, 0%, 72.5%)
CIE-LABlab(13.79, 24.29, -24.65)
CIE-LCHlch(13.79, 34.60, 314.58°)
OKLaboklab(26.73% 0.0552 -0.0695)
OKLCHoklch(26.73% 0.089 308.4)
XYZxyz(2.7076, 1.6942, 5.9775)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321646 #2A4616
analogous
#1A1646 #321646 #461642
triadic
#321646 #463216 #164632
tetradic
#321646 #461A16 #2A4616 #164246
square
#321646 #461A16 #2A4616 #164246
split-complementary
#321646 #424616 #16461A
monochromatic
#110717 #110717 #321646 #532575 #7533A3

Accessibility & contrast

On white

15.69
#321646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321646
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321646#FFFFFF#000000##FFFFFF
##3216461.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022248
Deuteranopia (green-blind)
#0F2445
Tritanopia (blue-blind)
#2F1F2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321646;
/* rgb */ color: rgb(50, 22, 70);
/* oklch */ color: oklch(26.7% 0.089 308.4);
Tailwind
colors: {
  custom: {
    50: '#6c557a',
    500: '#321646',
    950: '#000000',
  },
}
SCSS
$custom: #321646;
$custom-light: #6c557a;
$custom-dark: #000000;
JSON
{
  "hex": "#321646",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 70
  },
  "hsl": {
    "h": 275,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26728,
    "c": 0.08875,
    "h": 308.4
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#321646
secondary
#567D3A
accent
#DC4C88
background
#F6F5F7
surface
#EBE8ED
border
#C6C4C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321646

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

Preview Lab → · Contrast checker → · Palette generator →

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