#32105C#32105C

#32105C is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.125 H 297.9°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#32105C
RGBrgb(50, 16, 92)
HSLhsl(267, 70%, 21%)
HSVhsv(267, 83%, 36%)
CMYKcmyk(45.7%, 82.6%, 0%, 63.9%)
CIE-LABlab(14.52, 33.71, -38.49)
CIE-LCHlch(14.52, 51.16, 311.21°)
OKLaboklab(27.84% 0.0584 -0.1102)
OKLCHoklch(27.84% 0.125 297.9)
XYZxyz(3.4319, 1.8213, 10.2939)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32105C #3A5C10
analogous
#10145C #32105C #58105C
triadic
#32105C #5C3210 #105C32
tetradic
#32105C #5C1014 #3A5C10 #105C58
square
#32105C #5C1014 #3A5C10 #105C58
split-complementary
#32105C #5C5810 #145C10
monochromatic
#0E051A #160728 #32105C #4E1990 #6B22C4

Accessibility & contrast

On white

15.39
#32105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#32105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32105C
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32105C#FFFFFF#000000##FFFFFF
##32105C1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00245B
Tritanopia (blue-blind)
#272536
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #32105c;
/* rgb */ color: rgb(50, 16, 92);
/* oklch */ color: oklch(27.8% 0.125 297.9);
Tailwind
colors: {
  custom: {
    50: '#6f538b',
    500: '#32105c',
    950: '#000000',
  },
}
SCSS
$custom: #32105c;
$custom-light: #6f538b;
$custom-dark: #000000;
JSON
{
  "hex": "#32105c",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 266.842,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2784,
    "c": 0.12469,
    "h": 297.9
  },
  "luminance": 0.01821
}

Semantic roles & 50–950 ramp

primary
#32105C
secondary
#699533
accent
#ED3B9D
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #32105C

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

Preview Lab → · Contrast checker → · Palette generator →

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