#32155A#32155A

#32155A is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.116 H 297.6°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#32155A
RGBrgb(50, 21, 90)
HSLhsl(265, 62%, 22%)
HSVhsv(265, 77%, 35%)
CMYKcmyk(44.4%, 76.7%, 0%, 64.7%)
CIE-LABlab(15.24, 30.57, -35.98)
CIE-LCHlch(15.24, 47.21, 310.35°)
OKLaboklab(28.29% 0.0539 -0.1028)
OKLCHoklch(28.29% 0.116 297.6)
XYZxyz(3.4285, 1.9526, 9.8671)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32155A #3D5A15
analogous
#151B5A #32155A #55155A
triadic
#32155A #5A3215 #155A32
tetradic
#32155A #5A151B #3D5A15 #155A55
square
#32155A #5A151B #3D5A15 #155A55
split-complementary
#32155A #5A5515 #1B5A15
monochromatic
#0E0619 #160928 #32155A #4E218C #692CBD

Accessibility & contrast

On white

15.10
#32155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#32155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32155A
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32155A#FFFFFF#000000##FFFFFF
##32155A1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32155a;
/* rgb */ color: rgb(50, 21, 90);
/* oklch */ color: oklch(28.3% 0.116 297.6);
Tailwind
colors: {
  custom: {
    50: '#6e5589',
    500: '#32155a',
    950: '#000000',
  },
}
SCSS
$custom: #32155a;
$custom-light: #6e5589;
$custom-dark: #000000;
JSON
{
  "hex": "#32155a",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 265.217,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28286,
    "c": 0.11607,
    "h": 297.6
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#32155A
secondary
#6C9239
accent
#E543A1
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32155A

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

Preview Lab → · Contrast checker → · Palette generator →

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