#32175F#32175F

#32175F is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.120 H 295.0°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#32175F
RGBrgb(50, 23, 95)
HSLhsl(263, 61%, 23%)
HSVhsv(263, 76%, 37%)
CMYKcmyk(47.4%, 75.8%, 0%, 62.7%)
CIE-LABlab(16.09, 30.94, -37.93)
CIE-LCHlch(16.09, 48.95, 309.20°)
OKLaboklab(29.03% 0.0506 -0.1086)
OKLCHoklch(29.03% 0.12 295)
XYZxyz(3.6868, 2.1170, 11.0386)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32175F #445F17
analogous
#17205F #32175F #56175F
triadic
#32175F #5F3217 #175F32
tetradic
#32175F #5F1720 #445F17 #175F56
square
#32175F #5F1720 #445F17 #175F56
split-complementary
#32175F #5F5617 #205F17
monochromatic
#0D0619 #180B2E #32175F #4C2390 #662FC2

Accessibility & contrast

On white

14.75
#32175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32175F
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32175F#FFFFFF#000000##FFFFFF
##32175F1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#252939
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #32175f;
/* rgb */ color: rgb(50, 23, 95);
/* oklch */ color: oklch(29.0% 0.120 295.0);
Tailwind
colors: {
  custom: {
    50: '#6f568d',
    500: '#32175f',
    950: '#000000',
  },
}
SCSS
$custom: #32175f;
$custom-light: #6f568d;
$custom-dark: #000000;
JSON
{
  "hex": "#32175f",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 262.5,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29034,
    "c": 0.11976,
    "h": 295
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#32175F
secondary
#74963C
accent
#E444A8
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32175F

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

Preview Lab → · Contrast checker → · Palette generator →

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