#321745#321745

#321745 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.086 H 308.8°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#321745
RGBrgb(50, 23, 69)
HSLhsl(275, 50%, 18%)
HSVhsv(275, 67%, 27%)
CMYKcmyk(27.5%, 66.7%, 0%, 72.9%)
CIE-LABlab(13.95, 23.40, -23.70)
CIE-LCHlch(13.95, 33.31, 314.63°)
OKLaboklab(26.82% 0.0537 -0.0668)
OKLCHoklch(26.82% 0.086 308.8)
XYZxyz(2.6958, 1.7206, 5.8192)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321745 #2A4517
analogous
#1B1745 #321745 #451741
triadic
#321745 #453217 #174532
tetradic
#321745 #451B17 #2A4517 #174145
square
#321745 #451B17 #2A4517 #174145
split-complementary
#321745 #414517 #17451B
monochromatic
#110817 #110817 #321745 #532673 #7536A1

Accessibility & contrast

On white

15.62
#321745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321745
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321745#FFFFFF#000000##FFFFFF
##3217451.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062246
Deuteranopia (green-blind)
#112444
Tritanopia (blue-blind)
#2F202B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321745;
/* rgb */ color: rgb(50, 23, 69);
/* oklch */ color: oklch(26.8% 0.086 308.8);
Tailwind
colors: {
  custom: {
    50: '#6c5579',
    500: '#321745',
    950: '#000000',
  },
}
SCSS
$custom: #321745;
$custom-light: #6c5579;
$custom-dark: #000000;
JSON
{
  "hex": "#321745",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 275.217,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26816,
    "c": 0.08567,
    "h": 308.8
  },
  "luminance": 0.01721
}

Semantic roles & 50–950 ramp

primary
#321745
secondary
#567C3C
accent
#DA4E88
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321745

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

Preview Lab → · Contrast checker → · Palette generator →

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