#322757#322757

#322757 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.2% C 0.083 H 291.3°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#322757
RGBrgb(50, 39, 87)
HSLhsl(254, 38%, 25%)
HSVhsv(254, 55%, 34%)
CMYKcmyk(42.5%, 55.2%, 0%, 65.9%)
CIE-LABlab(19.30, 18.24, -27.41)
CIE-LCHlch(19.30, 32.93, 303.64°)
OKLaboklab(31.17% 0.0304 -0.0777)
OKLCHoklch(31.17% 0.083 291.3)
XYZxyz(3.7607, 2.8172, 9.3606)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322757 #4C5727
analogous
#273457 #322757 #4A2757
triadic
#322757 #573227 #275732
tetradic
#322757 #572734 #4C5727 #27574A
square
#322757 #572734 #4C5727 #27574A
split-complementary
#322757 #574A27 #345727
monochromatic
#0C0915 #1A142D #322757 #4A3A81 #634DAC

Accessibility & contrast

On white

13.43
#322757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#322757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322757
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322757#FFFFFF#000000##FFFFFF
##3227571.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133059
Deuteranopia (green-blind)
#152E56
Tritanopia (blue-blind)
#28313B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #322757;
/* rgb */ color: rgb(50, 39, 87);
/* oklch */ color: oklch(31.2% 0.083 291.3);
Tailwind
colors: {
  custom: {
    50: '#6c6187',
    500: '#322757',
    950: '#000000',
  },
}
SCSS
$custom: #322757;
$custom-light: #6c6187;
$custom-dark: #000000;
JSON
{
  "hex": "#322757",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 253.75,
    "s": 38.095,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31172,
    "c": 0.08339,
    "h": 291.3
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#322757
secondary
#7D8A50
accent
#CE5AB3
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#07050B
muted
#7A797C

Preview Lab

Preview with #322757

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

Preview Lab → · Contrast checker → · Palette generator →

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