#321344#321344

#321344 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.1% C 0.091 H 310.7°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#321344
RGBrgb(50, 19, 68)
HSLhsl(278, 56%, 17%)
HSVhsv(278, 72%, 27%)
CMYKcmyk(26.5%, 72.1%, 0%, 73.3%)
CIE-LABlab(12.99, 25.52, -24.53)
CIE-LCHlch(12.99, 35.40, 316.13°)
OKLaboklab(26.1% 0.0596 -0.0692)
OKLCHoklch(26.1% 0.091 310.7)
XYZxyz(2.5915, 1.5613, 5.6326)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321344 #254413
analogous
#1A1344 #321344 #44133E
triadic
#321344 #443213 #134432
tetradic
#321344 #441A13 #254413 #133E44
square
#321344 #441A13 #254413 #133E44
split-complementary
#321344 #3E4413 #13441A
monochromatic
#120718 #120718 #321344 #552074 #782EA4

Accessibility & contrast

On white

16.00
#321344 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#321344 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321344
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321344#FFFFFF#000000##FFFFFF
##3213441.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002045
Deuteranopia (green-blind)
#0D2243
Tritanopia (blue-blind)
#301D29
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321344;
/* rgb */ color: rgb(50, 19, 68);
/* oklch */ color: oklch(26.1% 0.091 310.7);
Tailwind
colors: {
  custom: {
    50: '#6c5378',
    500: '#321344',
    950: '#000000',
  },
}
SCSS
$custom: #321344;
$custom-light: #6c5378;
$custom-dark: #000000;
JSON
{
  "hex": "#321344",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 68
  },
  "hsl": {
    "h": 277.959,
    "s": 56.322,
    "l": 17.059
  },
  "oklch": {
    "l": 0.261,
    "c": 0.0913,
    "h": 310.7
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#321344
secondary
#507D36
accent
#E04880
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #321344

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

Preview Lab → · Contrast checker → · Palette generator →

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