#32125E#32125E

#32125E is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.125 H 296.6°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#32125E
RGBrgb(50, 18, 94)
HSLhsl(265, 68%, 22%)
HSVhsv(265, 81%, 37%)
CMYKcmyk(46.8%, 80.9%, 0%, 63.1%)
CIE-LABlab(15.06, 33.30, -38.95)
CIE-LCHlch(15.06, 51.25, 310.53°)
OKLaboklab(28.28% 0.0559 -0.1115)
OKLCHoklch(28.28% 0.125 296.6)
XYZxyz(3.5515, 1.9188, 10.7707)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32125E #3E5E12
analogous
#12185E #32125E #58125E
triadic
#32125E #5E3212 #125E32
tetradic
#32125E #5E1218 #3E5E12 #125E58
square
#32125E #5E1218 #3E5E12 #125E58
split-complementary
#32125E #5E5812 #185E12
monochromatic
#0E051A #17082B #32125E #4D1C91 #6926C5

Accessibility & contrast

On white

15.18
#32125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32125E
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32125E#FFFFFF#000000##FFFFFF
##32125E1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#262637
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #32125e;
/* rgb */ color: rgb(50, 18, 94);
/* oklch */ color: oklch(28.3% 0.125 296.6);
Tailwind
colors: {
  custom: {
    50: '#6f548c',
    500: '#32125e',
    950: '#000000',
  },
}
SCSS
$custom: #32125e;
$custom-light: #6f548c;
$custom-dark: #000000;
JSON
{
  "hex": "#32125e",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 265.263,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28275,
    "c": 0.12477,
    "h": 296.6
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#32125E
secondary
#6E9635
accent
#EB3DA2
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32125E

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

Preview Lab → · Contrast checker → · Palette generator →

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