#321346#321346

#321346 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.094 H 309.3°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#321346
RGBrgb(50, 19, 70)
HSLhsl(276, 57%, 17%)
HSVhsv(276, 73%, 27%)
CMYKcmyk(28.6%, 72.9%, 0%, 72.5%)
CIE-LABlab(13.15, 26.05, -25.69)
CIE-LCHlch(13.15, 36.59, 315.41°)
OKLaboklab(26.26% 0.0595 -0.0726)
OKLCHoklch(26.26% 0.094 309.3)
XYZxyz(2.6535, 1.5861, 5.9595)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321346 #274613
analogous
#191346 #321346 #461340
triadic
#321346 #463213 #134632
tetradic
#321346 #461913 #274613 #134046
square
#321346 #461913 #274613 #134046
split-complementary
#321346 #404613 #134619
monochromatic
#110718 #110718 #321346 #542076 #772DA6

Accessibility & contrast

On white

15.94
#321346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#321346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321346
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321346#FFFFFF#000000##FFFFFF
##3213461.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#0B2245
Tritanopia (blue-blind)
#2F1D2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321346;
/* rgb */ color: rgb(50, 19, 70);
/* oklch */ color: oklch(26.3% 0.094 309.3);
Tailwind
colors: {
  custom: {
    50: '#6c537a',
    500: '#321346',
    950: '#000000',
  },
}
SCSS
$custom: #321346;
$custom-light: #6c537a;
$custom-dark: #000000;
JSON
{
  "hex": "#321346",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 276.471,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26259,
    "c": 0.0938,
    "h": 309.3
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#321346
secondary
#537F36
accent
#E14783
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #321346

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

Preview Lab → · Contrast checker → · Palette generator →

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