#32186D#32186D

#32186D is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.136 H 289.8°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#32186D
RGBrgb(50, 24, 109)
HSLhsl(258, 64%, 26%)
HSVhsv(258, 78%, 43%)
CMYKcmyk(54.1%, 78%, 0%, 57.3%)
CIE-LABlab(17.62, 34.62, -44.64)
CIE-LCHlch(17.62, 56.49, 307.80°)
OKLaboklab(30.53% 0.0461 -0.1282)
OKLCHoklch(30.53% 0.136 289.8)
XYZxyz(4.4015, 2.4353, 14.7032)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32186D #536D18
analogous
#18286D #32186D #5C186D
triadic
#32186D #6D3218 #186D32
tetradic
#32186D #6D1828 #536D18 #186D5C
square
#32186D #6D1828 #536D18 #186D5C
split-complementary
#32186D #6D5C18 #286D18
monochromatic
#0C0619 #1B0D3B #32186D #49239F #602ED1

Accessibility & contrast

On white

14.12
#32186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#32186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32186D
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32186D#FFFFFF#000000##FFFFFF
##32186D1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#1D2F41
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #32186d;
/* rgb */ color: rgb(50, 24, 109);
/* oklch */ color: oklch(30.5% 0.136 289.8);
Tailwind
colors: {
  custom: {
    50: '#715898',
    500: '#32186d',
    950: '#000000',
  },
}
SCSS
$custom: #32186d;
$custom-light: #715898;
$custom-dark: #000000;
JSON
{
  "hex": "#32186d",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 258.353,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30532,
    "c": 0.13629,
    "h": 289.8
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#32186D
secondary
#84A33E
accent
#E741B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #32186D

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

Preview Lab → · Contrast checker → · Palette generator →

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