#32125C#32125C

#32125C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.122 H 297.5°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#32125C
RGBrgb(50, 18, 92)
HSLhsl(266, 67%, 22%)
HSVhsv(266, 80%, 36%)
CMYKcmyk(45.7%, 80.4%, 0%, 63.9%)
CIE-LABlab(14.86, 32.73, -37.93)
CIE-LCHlch(14.86, 50.10, 310.79°)
OKLaboklab(28.08% 0.0565 -0.1085)
OKLCHoklch(28.08% 0.122 297.5)
XYZxyz(3.4630, 1.8834, 10.3042)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32125C #3C5C12
analogous
#12175C #32125C #57125C
triadic
#32125C #5C3212 #125C32
tetradic
#32125C #5C1217 #3C5C12 #125C57
square
#32125C #5C1217 #3C5C12 #125C57
split-complementary
#32125C #5C5712 #175C12
monochromatic
#0E051A #160829 #32125C #4E1C8F #6A26C2

Accessibility & contrast

On white

15.25
#32125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#32125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32125C
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32125C#FFFFFF#000000##FFFFFF
##32125C1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32125c;
/* rgb */ color: rgb(50, 18, 92);
/* oklch */ color: oklch(28.1% 0.122 297.5);
Tailwind
colors: {
  custom: {
    50: '#6f548b',
    500: '#32125c',
    950: '#000000',
  },
}
SCSS
$custom: #32125c;
$custom-light: #6f548b;
$custom-dark: #000000;
JSON
{
  "hex": "#32125c",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 265.946,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.2808,
    "c": 0.12236,
    "h": 297.5
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#32125C
secondary
#6B9435
accent
#EA3EA0
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32125C

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

Preview Lab → · Contrast checker → · Palette generator →

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