#322758#322758

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

Color values

HEX#322758
RGBrgb(50, 39, 88)
HSLhsl(253, 39%, 25%)
HSVhsv(253, 56%, 35%)
CMYKcmyk(43.2%, 55.7%, 0%, 65.5%)
CIE-LABlab(19.36, 18.56, -27.97)
CIE-LCHlch(19.36, 33.57, 303.57°)
OKLaboklab(31.25% 0.0304 -0.0793)
OKLCHoklch(31.25% 0.085 291)
XYZxyz(3.8019, 2.8336, 9.5773)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322758 #4D5827
analogous
#273558 #322758 #4A2758
triadic
#322758 #583227 #275832
tetradic
#322758 #582735 #4D5827 #27584A
square
#322758 #582735 #4D5827 #27584A
split-complementary
#322758 #584A27 #355827
monochromatic
#0C0915 #1A142E #322758 #4A3A82 #624DAD

Accessibility & contrast

On white

13.40
#322758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#322758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322758
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322758#FFFFFF#000000##FFFFFF
##3227581.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305A
Deuteranopia (green-blind)
#142E57
Tritanopia (blue-blind)
#28313B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #322758;
/* rgb */ color: rgb(50, 39, 88);
/* oklch */ color: oklch(31.2% 0.085 291.0);
Tailwind
colors: {
  custom: {
    50: '#6c6187',
    500: '#322758',
    950: '#000000',
  },
}
SCSS
$custom: #322758;
$custom-light: #6c6187;
$custom-dark: #000000;
JSON
{
  "hex": "#322758",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 253.469,
    "s": 38.583,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31246,
    "c": 0.08494,
    "h": 291
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#322758
secondary
#7E8B50
accent
#CF59B4
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07050B
muted
#7A797C

Preview Lab

Preview with #322758

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

Preview Lab → · Contrast checker → · Palette generator →

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