#32174F#32174F

#32174F is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.6% C 0.099 H 302.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#32174F
RGBrgb(50, 23, 79)
HSLhsl(269, 55%, 20%)
HSVhsv(269, 71%, 31%)
CMYKcmyk(36.7%, 70.9%, 0%, 69%)
CIE-LABlab(14.71, 26.22, -29.38)
CIE-LCHlch(14.71, 39.38, 311.75°)
OKLaboklab(27.61% 0.0532 -0.0834)
OKLCHoklch(27.61% 0.099 302.5)
XYZxyz(3.0327, 1.8554, 7.5940)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32174F #344F17
analogous
#17184F #32174F #4E174F
triadic
#32174F #4F3217 #174F32
tetradic
#32174F #4F1718 #344F17 #174F4E
square
#32174F #4F1718 #344F17 #174F4E
split-complementary
#32174F #4F4E17 #184F17
monochromatic
#0F0718 #140920 #32174F #50257E #6E33AE

Accessibility & contrast

On white

15.32
#32174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#32174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32174F
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32174F#FFFFFF#000000##FFFFFF
##32174F1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#04254E
Tritanopia (blue-blind)
#2C2330
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #32174f;
/* rgb */ color: rgb(50, 23, 79);
/* oklch */ color: oklch(27.6% 0.099 302.5);
Tailwind
colors: {
  custom: {
    50: '#6d5681',
    500: '#32174f',
    950: '#000000',
  },
}
SCSS
$custom: #32174f;
$custom-light: #6d5681;
$custom-dark: #000000;
JSON
{
  "hex": "#32174f",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 268.929,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.27613,
    "c": 0.09893,
    "h": 302.5
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#32174F
secondary
#62863C
accent
#DE4A97
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #32174F

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

Preview Lab → · Contrast checker → · Palette generator →

#32174F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva