#32246A#32246A

#32246A is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.1% C 0.116 H 287.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#32246A
RGBrgb(50, 36, 106)
HSLhsl(252, 49%, 28%)
HSVhsv(252, 66%, 42%)
CMYKcmyk(52.8%, 66%, 0%, 58.4%)
CIE-LABlab(19.96, 26.49, -38.86)
CIE-LCHlch(19.96, 47.03, 304.28°)
OKLaboklab(32.13% 0.0343 -0.1113)
OKLCHoklch(32.13% 0.116 287.1)
XYZxyz(4.5470, 2.9803, 13.9685)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32246A #5C6A24
analogous
#24396A #32246A #55246A
triadic
#32246A #6A3224 #246A32
tetradic
#32246A #6A2439 #5C6A24 #246A55
square
#32246A #6A2439 #5C6A24 #246A55
split-complementary
#32246A #6A5524 #396A24
monochromatic
#0B0817 #1C143C #32246A #483498 #6048C1

Accessibility & contrast

On white

13.16
#32246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#32246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32246A
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32246A#FFFFFF#000000##FFFFFF
##32246A1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#1E3543
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #32246a;
/* rgb */ color: rgb(50, 36, 106);
/* oklch */ color: oklch(32.1% 0.116 287.1);
Tailwind
colors: {
  custom: {
    50: '#6f5f95',
    500: '#32246a',
    950: '#000000',
  },
}
SCSS
$custom: #32246a;
$custom-light: #6f5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#32246a",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 252,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32125,
    "c": 0.11648,
    "h": 287.1
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#32246A
secondary
#8D9D4D
accent
#D94FBD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #32246A

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

Preview Lab → · Contrast checker → · Palette generator →

#32246A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva