#32145A#32145A

#32145A is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.117 H 297.9°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#32145A
RGBrgb(50, 20, 90)
HSLhsl(266, 64%, 22%)
HSVhsv(266, 78%, 35%)
CMYKcmyk(44.4%, 77.8%, 0%, 64.7%)
CIE-LABlab(15.04, 31.11, -36.29)
CIE-LCHlch(15.04, 47.80, 310.60°)
OKLaboklab(28.15% 0.0549 -0.1037)
OKLCHoklch(28.15% 0.117 297.9)
XYZxyz(3.4105, 1.9166, 9.8611)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32145A #3C5A14
analogous
#14195A #32145A #55145A
triadic
#32145A #5A3214 #145A32
tetradic
#32145A #5A1419 #3C5A14 #145A55
square
#32145A #5A1419 #3C5A14 #145A55
split-complementary
#32145A #5A5514 #195A14
monochromatic
#0E0619 #160928 #32145A #4E1F8C #6A2ABE

Accessibility & contrast

On white

15.18
#32145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#32145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32145A
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32145A#FFFFFF#000000##FFFFFF
##32145A1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#282635
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #32145a;
/* rgb */ color: rgb(50, 20, 90);
/* oklch */ color: oklch(28.1% 0.117 297.9);
Tailwind
colors: {
  custom: {
    50: '#6e5589',
    500: '#32145a',
    950: '#000000',
  },
}
SCSS
$custom: #32145a;
$custom-light: #6e5589;
$custom-dark: #000000;
JSON
{
  "hex": "#32145a",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 265.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28149,
    "c": 0.11739,
    "h": 297.9
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#32145A
secondary
#6B9238
accent
#E741A0
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32145A

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

Preview Lab → · Contrast checker → · Palette generator →

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