#32237C#32237C

#32237C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.143 H 283.3°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#32237C
RGBrgb(50, 35, 124)
HSLhsl(250, 56%, 31%)
HSVhsv(250, 72%, 49%)
CMYKcmyk(59.7%, 71.8%, 0%, 51.4%)
CIE-LABlab(21.34, 33.08, -48.19)
CIE-LCHlch(21.34, 58.45, 304.46°)
OKLaboklab(33.62% 0.0328 -0.1387)
OKLCHoklch(33.62% 0.143 283.3)
XYZxyz(5.5534, 3.3351, 19.4160)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32237C #6D7C23
analogous
#23407C #32237C #5E237C
triadic
#32237C #7C3223 #237C32
tetradic
#32237C #7C2340 #6D7C23 #237C5E
square
#32237C #7C2340 #6D7C23 #237C5E
split-complementary
#32237C #7C5E23 #407C23
monochromatic
#0C081D #1F164C #32237C #4530AC #624DCD

Accessibility & contrast

On white

12.60
#32237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#32237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32237C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32237C#FFFFFF#000000##FFFFFF
##32237C1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#093A4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #32237c;
/* rgb */ color: rgb(50, 35, 124);
/* oklch */ color: oklch(33.6% 0.143 283.3);
Tailwind
colors: {
  custom: {
    50: '#735fa3',
    500: '#32237c',
    950: '#000000',
  },
}
SCSS
$custom: #32237c;
$custom-light: #735fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#32237c",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 250.112,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33616,
    "c": 0.14256,
    "h": 283.3
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#32237C
secondary
#9EAF4C
accent
#DF49C6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #32237C

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

Preview Lab → · Contrast checker → · Palette generator →

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