#32107E#32107E

#32107E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.164 H 286.2°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#32107E
RGBrgb(50, 16, 126)
HSLhsl(259, 77%, 28%)
HSVhsv(259, 87%, 49%)
CMYKcmyk(60.3%, 87.3%, 0%, 50.6%)
CIE-LABlab(18.16, 43.35, -54.69)
CIE-LCHlch(18.16, 69.79, 308.40°)
OKLaboklab(31.45% 0.0459 -0.1575)
OKLCHoklch(31.45% 0.164 286.2)
XYZxyz(5.2654, 2.5547, 19.9503)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32107E #5C7E10
analogous
#10257E #32107E #69107E
triadic
#32107E #7E3210 #107E32
tetradic
#32107E #7E1025 #5C7E10 #107E69
square
#32107E #7E1025 #5C7E10 #107E69
split-complementary
#32107E #7E6910 #257E10
monochromatic
#0B031B #1C0948 #32107E #4817B4 #6025E3

Accessibility & contrast

On white

13.90
#32107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#32107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32107E
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32107E#FFFFFF#000000##FFFFFF
##32107E1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#083349
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #32107e;
/* rgb */ color: rgb(50, 16, 126);
/* oklch */ color: oklch(31.5% 0.164 286.2);
Tailwind
colors: {
  custom: {
    50: '#7555a5',
    500: '#32107e',
    950: '#000000',
  },
}
SCSS
$custom: #32107e;
$custom-light: #7555a5;
$custom-dark: #000000;
JSON
{
  "hex": "#32107e",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 258.545,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31454,
    "c": 0.16409,
    "h": 286.2
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#32107E
secondary
#8DB436
accent
#F434B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32107E

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

Preview Lab → · Contrast checker → · Palette generator →

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