#32186F#32186F

#32186F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.139 H 289.2°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#32186F
RGBrgb(50, 24, 111)
HSLhsl(258, 64%, 26%)
HSVhsv(258, 78%, 44%)
CMYKcmyk(55%, 78.4%, 0%, 56.5%)
CIE-LABlab(17.82, 35.23, -45.61)
CIE-LCHlch(17.82, 57.63, 307.69°)
OKLaboklab(30.73% 0.0456 -0.1311)
OKLCHoklch(30.73% 0.139 289.2)
XYZxyz(4.5104, 2.4789, 15.2767)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32186F #556F18
analogous
#182A6F #32186F #5E186F
triadic
#32186F #6F3218 #186F32
tetradic
#32186F #6F182A #556F18 #186F5E
square
#32186F #6F182A #556F18 #186F5E
split-complementary
#32186F #6F5E18 #2A6F18
monochromatic
#0B0519 #1B0D3D #32186F #4923A1 #602FD2

Accessibility & contrast

On white

14.04
#32186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#32186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32186F
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32186F#FFFFFF#000000##FFFFFF
##32186F1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#1B3042
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #32186f;
/* rgb */ color: rgb(50, 24, 111);
/* oklch */ color: oklch(30.7% 0.139 289.2);
Tailwind
colors: {
  custom: {
    50: '#715899',
    500: '#32186f',
    950: '#000000',
  },
}
SCSS
$custom: #32186f;
$custom-light: #715899;
$custom-dark: #000000;
JSON
{
  "hex": "#32186f",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 257.931,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30733,
    "c": 0.1388,
    "h": 289.2
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#32186F
secondary
#86A53E
accent
#E740B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #32186F

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

Preview Lab → · Contrast checker → · Palette generator →

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