#32175D#32175D

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

Color values

HEX#32175D
RGBrgb(50, 23, 93)
HSLhsl(263, 60%, 23%)
HSVhsv(263, 75%, 36%)
CMYKcmyk(46.2%, 75.3%, 0%, 63.5%)
CIE-LABlab(15.91, 30.34, -36.89)
CIE-LCHlch(15.91, 47.77, 309.43°)
OKLaboklab(28.85% 0.051 -0.1055)
OKLCHoklch(28.85% 0.117 295.8)
XYZxyz(3.5970, 2.0811, 10.5660)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32175D #425D17
analogous
#171F5D #32175D #55175D
triadic
#32175D #5D3217 #175D32
tetradic
#32175D #5D171F #425D17 #175D55
square
#32175D #5D171F #425D17 #175D55
split-complementary
#32175D #5D5517 #1F5D17
monochromatic
#0D0619 #180B2C #32175D #4C238E #672FBF

Accessibility & contrast

On white

14.83
#32175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#32175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32175D
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32175D#FFFFFF#000000##FFFFFF
##32175D1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#262838
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #32175d;
/* rgb */ color: rgb(50, 23, 93);
/* oklch */ color: oklch(28.8% 0.117 295.8);
Tailwind
colors: {
  custom: {
    50: '#6f568c',
    500: '#32175d',
    950: '#000000',
  },
}
SCSS
$custom: #32175d;
$custom-light: #6f568c;
$custom-dark: #000000;
JSON
{
  "hex": "#32175d",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 263.143,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28848,
    "c": 0.1172,
    "h": 295.8
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#32175D
secondary
#72943C
accent
#E344A6
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32175D

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

Preview Lab → · Contrast checker → · Palette generator →

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