#32125F#32125F

#32125F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.126 H 296.2°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#32125F
RGBrgb(50, 18, 95)
HSLhsl(265, 68%, 22%)
HSVhsv(265, 81%, 37%)
CMYKcmyk(47.4%, 81.1%, 0%, 62.7%)
CIE-LABlab(15.15, 33.59, -39.46)
CIE-LCHlch(15.15, 51.82, 310.40°)
OKLaboklab(28.37% 0.0556 -0.113)
OKLCHoklch(28.37% 0.126 296.2)
XYZxyz(3.5967, 1.9369, 11.0086)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32125F #3F5F12
analogous
#12195F #32125F #59125F
triadic
#32125F #5F3212 #125F32
tetradic
#32125F #5F1219 #3F5F12 #125F59
square
#32125F #5F1219 #3F5F12 #125F59
split-complementary
#32125F #5F5912 #195F12
monochromatic
#0E051A #17082C #32125F #4D1C92 #6825C6

Accessibility & contrast

On white

15.14
#32125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#32125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32125F
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32125F#FFFFFF#000000##FFFFFF
##32125F1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#262738
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #32125f;
/* rgb */ color: rgb(50, 18, 95);
/* oklch */ color: oklch(28.4% 0.126 296.2);
Tailwind
colors: {
  custom: {
    50: '#6f548d',
    500: '#32125f',
    950: '#000000',
  },
}
SCSS
$custom: #32125f;
$custom-light: #6f548d;
$custom-dark: #000000;
JSON
{
  "hex": "#32125f",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 264.935,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28373,
    "c": 0.12597,
    "h": 296.2
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#32125F
secondary
#6F9736
accent
#EB3DA3
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32125F

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

Preview Lab → · Contrast checker → · Palette generator →

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