#32185B#32185B

#32185B is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.113 H 296.3°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#32185B
RGBrgb(50, 24, 91)
HSLhsl(263, 58%, 23%)
HSVhsv(263, 74%, 36%)
CMYKcmyk(45.1%, 73.6%, 0%, 64.3%)
CIE-LABlab(15.94, 29.17, -35.51)
CIE-LCHlch(15.94, 45.95, 309.40°)
OKLaboklab(28.81% 0.0503 -0.1015)
OKLCHoklch(28.81% 0.113 296.3)
XYZxyz(3.5299, 2.0866, 10.1123)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32185B #415B18
analogous
#181F5B #32185B #54185B
triadic
#32185B #5B3218 #185B32
tetradic
#32185B #5B181F #415B18 #185B54
square
#32185B #5B181F #415B18 #185B54
split-complementary
#32185B #5B5418 #1F5B18
monochromatic
#0D0618 #170B2B #32185B #4D258B #6732BC

Accessibility & contrast

On white

14.82
#32185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#32185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32185B
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32185B#FFFFFF#000000##FFFFFF
##32185B1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#272837
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #32185b;
/* rgb */ color: rgb(50, 24, 91);
/* oklch */ color: oklch(28.8% 0.113 296.3);
Tailwind
colors: {
  custom: {
    50: '#6e578a',
    500: '#32185b',
    950: '#000000',
  },
}
SCSS
$custom: #32185b;
$custom-light: #6e578a;
$custom-dark: #000000;
JSON
{
  "hex": "#32185b",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 263.284,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28812,
    "c": 0.11322,
    "h": 296.3
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#32185B
secondary
#71923D
accent
#E146A5
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #32185B

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

Preview Lab → · Contrast checker → · Palette generator →

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