#32185A#32185A

#32185A is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.112 H 296.8°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#32185A
RGBrgb(50, 24, 90)
HSLhsl(264, 58%, 22%)
HSVhsv(264, 73%, 35%)
CMYKcmyk(44.4%, 73.3%, 0%, 64.7%)
CIE-LABlab(15.85, 28.86, -34.98)
CIE-LCHlch(15.85, 45.35, 309.53°)
OKLaboklab(28.72% 0.0504 -0.0999)
OKLCHoklch(28.72% 0.112 296.8)
XYZxyz(3.4870, 2.0695, 9.8866)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32185A #405A18
analogous
#181F5A #32185A #53185A
triadic
#32185A #5A3218 #185A32
tetradic
#32185A #5A181F #405A18 #185A53
square
#32185A #5A181F #405A18 #185A53
split-complementary
#32185A #5A5318 #1F5A18
monochromatic
#0D0618 #170B2A #32185A #4D258A #6832BB

Accessibility & contrast

On white

14.85
#32185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#32185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32185A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32185A#FFFFFF#000000##FFFFFF
##32185A1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#282836
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #32185a;
/* rgb */ color: rgb(50, 24, 90);
/* oklch */ color: oklch(28.7% 0.112 296.8);
Tailwind
colors: {
  custom: {
    50: '#6e5789',
    500: '#32185a',
    950: '#000000',
  },
}
SCSS
$custom: #32185a;
$custom-light: #6e5789;
$custom-dark: #000000;
JSON
{
  "hex": "#32185a",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 263.636,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28722,
    "c": 0.11192,
    "h": 296.8
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#32185A
secondary
#70913D
accent
#E147A4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #32185A

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

Preview Lab → · Contrast checker → · Palette generator →

#32185A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva