#32187F#32187F

#32187F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.158 H 284.9°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#32187F
RGBrgb(50, 24, 127)
HSLhsl(255, 68%, 30%)
HSVhsv(255, 81%, 50%)
CMYKcmyk(60.6%, 81.1%, 0%, 50.2%)
CIE-LABlab(19.49, 40.10, -53.14)
CIE-LCHlch(19.49, 66.57, 307.04°)
OKLaboklab(32.4% 0.0407 -0.1531)
OKLCHoklch(32.4% 0.158 284.9)
XYZxyz(5.4716, 2.8633, 20.3389)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32187F #657F18
analogous
#18317F #32187F #66187F
triadic
#32187F #7F3218 #187F32
tetradic
#32187F #7F1831 #657F18 #187F66
square
#32187F #7F1831 #657F18 #187F66
split-complementary
#32187F #7F6618 #317F18
monochromatic
#0A051A #1E0E4C #32187F #4622B2 #6138D9

Accessibility & contrast

On white

13.35
#32187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#32187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32187F
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32187F#FFFFFF#000000##FFFFFF
##32187F1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#05364B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32187f;
/* rgb */ color: rgb(50, 24, 127);
/* oklch */ color: oklch(32.4% 0.158 284.9);
Tailwind
colors: {
  custom: {
    50: '#7459a5',
    500: '#32187f',
    950: '#000000',
  },
}
SCSS
$custom: #32187f;
$custom-light: #7459a5;
$custom-dark: #000000;
JSON
{
  "hex": "#32187f",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 255.146,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32401,
    "c": 0.15846,
    "h": 284.9
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#32187F
secondary
#96B33F
accent
#EB3DBF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32187F

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

Preview Lab → · Contrast checker → · Palette generator →

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