#32175C#32175C

#32175C is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.116 H 296.2°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#32175C
RGBrgb(50, 23, 92)
HSLhsl(263, 60%, 23%)
HSVhsv(263, 75%, 36%)
CMYKcmyk(45.7%, 75%, 0%, 63.9%)
CIE-LABlab(15.82, 30.04, -36.37)
CIE-LCHlch(15.82, 47.17, 309.55°)
OKLaboklab(28.76% 0.0512 -0.104)
OKLCHoklch(28.76% 0.116 296.2)
XYZxyz(3.5530, 2.0635, 10.3342)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32175C #415C17
analogous
#171F5C #32175C #54175C
triadic
#32175C #5C3217 #175C32
tetradic
#32175C #5C171F #415C17 #175C54
square
#32175C #5C171F #415C17 #175C54
split-complementary
#32175C #5C5417 #1F5C17
monochromatic
#0D0618 #170B2B #32175C #4D238D #672FBE

Accessibility & contrast

On white

14.86
#32175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32175C
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32175C#FFFFFF#000000##FFFFFF
##32175C1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#272837
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #32175c;
/* rgb */ color: rgb(50, 23, 92);
/* oklch */ color: oklch(28.8% 0.116 296.2);
Tailwind
colors: {
  custom: {
    50: '#6e568b',
    500: '#32175c',
    950: '#000000',
  },
}
SCSS
$custom: #32175c;
$custom-light: #6e568b;
$custom-dark: #000000;
JSON
{
  "hex": "#32175c",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 263.478,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28756,
    "c": 0.11592,
    "h": 296.2
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#32175C
secondary
#71933C
accent
#E345A5
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32175C

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

Preview Lab → · Contrast checker → · Palette generator →

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