#32155C#32155C

#32155C is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.119 H 296.8°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#32155C
RGBrgb(50, 21, 92)
HSLhsl(265, 63%, 22%)
HSVhsv(265, 77%, 36%)
CMYKcmyk(45.7%, 77.2%, 0%, 63.9%)
CIE-LABlab(15.42, 31.15, -37.02)
CIE-LCHlch(15.42, 48.38, 310.08°)
OKLaboklab(28.47% 0.0534 -0.1059)
OKLCHoklch(28.47% 0.119 296.8)
XYZxyz(3.5148, 1.9871, 10.3215)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32155C #3F5C15
analogous
#151C5C #32155C #56155C
triadic
#32155C #5C3215 #155C32
tetradic
#32155C #5C151C #3F5C15 #155C56
square
#32155C #5C151C #3F5C15 #155C56
split-complementary
#32155C #5C5615 #1C5C15
monochromatic
#0E0619 #170A2A #32155C #4D208E #682CC0

Accessibility & contrast

On white

15.03
#32155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#32155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32155C
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32155C#FFFFFF#000000##FFFFFF
##32155C1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#272737
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #32155c;
/* rgb */ color: rgb(50, 21, 92);
/* oklch */ color: oklch(28.5% 0.119 296.8);
Tailwind
colors: {
  custom: {
    50: '#6f558b',
    500: '#32155c',
    950: '#000000',
  },
}
SCSS
$custom: #32155c;
$custom-light: #6f558b;
$custom-dark: #000000;
JSON
{
  "hex": "#32155c",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 264.507,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28473,
    "c": 0.11858,
    "h": 296.8
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#32155C
secondary
#6F9339
accent
#E642A3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32155C

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

Preview Lab → · Contrast checker → · Palette generator →

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