#32155F#32155F

#32155F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.122 H 295.5°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#32155F
RGBrgb(50, 21, 95)
HSLhsl(264, 64%, 23%)
HSVhsv(264, 78%, 37%)
CMYKcmyk(47.4%, 77.9%, 0%, 62.7%)
CIE-LABlab(15.70, 32.03, -38.57)
CIE-LCHlch(15.70, 50.14, 309.71°)
OKLaboklab(28.76% 0.0527 -0.1104)
OKLCHoklch(28.76% 0.122 295.5)
XYZxyz(3.6486, 2.0406, 11.0259)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32155F #425F15
analogous
#151D5F #32155F #57155F
triadic
#32155F #5F3215 #155F32
tetradic
#32155F #5F151D #425F15 #155F57
square
#32155F #5F151D #425F15 #155F57
split-complementary
#32155F #5F5715 #1D5F15
monochromatic
#0D0619 #180A2D #32155F #4C2091 #672BC3

Accessibility & contrast

On white

14.91
#32155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#32155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32155F
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32155F#FFFFFF#000000##FFFFFF
##32155F1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#262838
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #32155f;
/* rgb */ color: rgb(50, 21, 95);
/* oklch */ color: oklch(28.8% 0.122 295.5);
Tailwind
colors: {
  custom: {
    50: '#6f558d',
    500: '#32155f',
    950: '#000000',
  },
}
SCSS
$custom: #32155f;
$custom-light: #6f558d;
$custom-dark: #000000;
JSON
{
  "hex": "#32155f",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 263.514,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28757,
    "c": 0.12234,
    "h": 295.5
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#32155F
secondary
#72963A
accent
#E741A6
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32155F

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

Preview Lab → · Contrast checker → · Palette generator →

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