#32246F#32246F

#32246F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.6% C 0.124 H 285.9°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#32246F
RGBrgb(50, 36, 111)
HSLhsl(251, 51%, 29%)
HSVhsv(251, 68%, 44%)
CMYKcmyk(55%, 67.6%, 0%, 56.5%)
CIE-LABlab(20.39, 28.15, -41.41)
CIE-LCHlch(20.39, 50.07, 304.21°)
OKLaboklab(32.57% 0.0338 -0.1188)
OKLCHoklch(32.57% 0.124 285.9)
XYZxyz(4.8147, 3.0873, 15.3781)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32246F #616F24
analogous
#243C6F #32246F #58246F
triadic
#32246F #6F3224 #246F32
tetradic
#32246F #6F243C #616F24 #246F58
square
#32246F #6F243C #616F24 #246F58
split-complementary
#32246F #6F5824 #3C6F24
monochromatic
#0A0717 #1D1541 #32246F #47339D #6049C4

Accessibility & contrast

On white

12.98
#32246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#32246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32246F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32246F#FFFFFF#000000##FFFFFF
##32246F1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#1A3646
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #32246f;
/* rgb */ color: rgb(50, 36, 111);
/* oklch */ color: oklch(32.6% 0.124 285.9);
Tailwind
colors: {
  custom: {
    50: '#705f99',
    500: '#32246f',
    950: '#000000',
  },
}
SCSS
$custom: #32246f;
$custom-light: #705f99;
$custom-dark: #000000;
JSON
{
  "hex": "#32246f",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 251.2,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32568,
    "c": 0.12353,
    "h": 285.9
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#32246F
secondary
#92A24D
accent
#DA4DC0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #32246F

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

Preview Lab → · Contrast checker → · Palette generator →

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