#32175A#32175A

#32175A is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.113 H 297.1°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#32175A
RGBrgb(50, 23, 90)
HSLhsl(264, 59%, 22%)
HSVhsv(264, 74%, 35%)
CMYKcmyk(44.4%, 74.4%, 0%, 64.7%)
CIE-LABlab(15.64, 29.45, -35.32)
CIE-LCHlch(15.64, 45.99, 309.81°)
OKLaboklab(28.57% 0.0516 -0.1009)
OKLCHoklch(28.57% 0.113 297.1)
XYZxyz(3.4668, 2.0290, 9.8799)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32175A #3F5A17
analogous
#171E5A #32175A #54175A
triadic
#32175A #5A3217 #175A32
tetradic
#32175A #5A171E #3F5A17 #175A54
square
#32175A #5A171E #3F5A17 #175A54
split-complementary
#32175A #5A5417 #1E5A17
monochromatic
#0E0618 #170B29 #32175A #4D238B #6830BB

Accessibility & contrast

On white

14.94
#32175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#32175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32175A
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32175A#FFFFFF#000000##FFFFFF
##32175A1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#282736
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #32175a;
/* rgb */ color: rgb(50, 23, 90);
/* oklch */ color: oklch(28.6% 0.113 297.1);
Tailwind
colors: {
  custom: {
    50: '#6e5689',
    500: '#32175a',
    950: '#000000',
  },
}
SCSS
$custom: #32175a;
$custom-light: #6e5689;
$custom-dark: #000000;
JSON
{
  "hex": "#32175a",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 264.179,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28573,
    "c": 0.11332,
    "h": 297.1
  },
  "luminance": 0.02029
}

Semantic roles & 50–950 ramp

primary
#32175A
secondary
#6F913C
accent
#E245A3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #32175A

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

Preview Lab → · Contrast checker → · Palette generator →

#32175A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva