#32147C#32147C

#32147C is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.159 H 286.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#32147C
RGBrgb(50, 20, 124)
HSLhsl(257, 72%, 28%)
HSVhsv(257, 84%, 49%)
CMYKcmyk(59.7%, 83.9%, 0%, 51.4%)
CIE-LABlab(18.51, 41.09, -52.84)
CIE-LCHlch(18.51, 66.94, 307.87°)
OKLaboklab(31.63% 0.0444 -0.1522)
OKLCHoklch(31.63% 0.159 286.2)
XYZxyz(5.2025, 2.6334, 19.2990)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32147C #5E7C14
analogous
#142A7C #32147C #66147C
triadic
#32147C #7C3214 #147C32
tetradic
#32147C #7C142A #5E7C14 #147C66
square
#32147C #7C142A #5E7C14 #147C66
split-complementary
#32147C #7C6614 #2A7C14
monochromatic
#0B041A #1D0B47 #32147C #471DB1 #602DDD

Accessibility & contrast

On white

13.75
#32147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#32147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32147C
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32147C#FFFFFF#000000##FFFFFF
##32147C1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#0B3449
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #32147c;
/* rgb */ color: rgb(50, 20, 124);
/* oklch */ color: oklch(31.6% 0.159 286.2);
Tailwind
colors: {
  custom: {
    50: '#7457a3',
    500: '#32147c',
    950: '#000000',
  },
}
SCSS
$custom: #32147c;
$custom-light: #7457a3;
$custom-dark: #000000;
JSON
{
  "hex": "#32147c",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 257.308,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31626,
    "c": 0.15854,
    "h": 286.2
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#32147C
secondary
#8FB23A
accent
#EF39BA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32147C

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

Preview Lab → · Contrast checker → · Palette generator →

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