#321345#321345

#321345 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.093 H 310.0°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#321345
RGBrgb(50, 19, 69)
HSLhsl(277, 57%, 17%)
HSVhsv(277, 72%, 27%)
CMYKcmyk(27.5%, 72.5%, 0%, 72.9%)
CIE-LABlab(13.07, 25.79, -25.11)
CIE-LCHlch(13.07, 35.99, 315.76°)
OKLaboklab(26.18% 0.0595 -0.0709)
OKLCHoklch(26.18% 0.093 310)
XYZxyz(2.6222, 1.5736, 5.7947)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321345 #264513
analogous
#191345 #321345 #45133F
triadic
#321345 #453213 #134532
tetradic
#321345 #451913 #264513 #133F45
square
#321345 #451913 #264513 #133F45
split-complementary
#321345 #3F4513 #134519
monochromatic
#110718 #110718 #321345 #552075 #782DA5

Accessibility & contrast

On white

15.97
#321345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321345
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321345#FFFFFF#000000##FFFFFF
##3213451.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321345;
/* rgb */ color: rgb(50, 19, 69);
/* oklch */ color: oklch(26.2% 0.093 310.0);
Tailwind
colors: {
  custom: {
    50: '#6c5379',
    500: '#321345',
    950: '#000000',
  },
}
SCSS
$custom: #321345;
$custom-light: #6c5379;
$custom-dark: #000000;
JSON
{
  "hex": "#321345",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 277.2,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26179,
    "c": 0.09255,
    "h": 310
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#321345
secondary
#517E36
accent
#E04882
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #321345

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

Preview Lab → · Contrast checker → · Palette generator →

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