#32186E#32186E

#32186E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.138 H 289.5°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#32186E
RGBrgb(50, 24, 110)
HSLhsl(258, 64%, 26%)
HSVhsv(258, 78%, 43%)
CMYKcmyk(54.5%, 78.2%, 0%, 56.9%)
CIE-LABlab(17.72, 34.93, -45.12)
CIE-LCHlch(17.72, 57.06, 307.74°)
OKLaboklab(30.63% 0.0459 -0.1297)
OKLCHoklch(30.63% 0.138 289.5)
XYZxyz(4.4557, 2.4570, 14.9883)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32186E #546E18
analogous
#18296E #32186E #5D186E
triadic
#32186E #6E3218 #186E32
tetradic
#32186E #6E1829 #546E18 #186E5D
square
#32186E #6E1829 #546E18 #186E5D
split-complementary
#32186E #6E5D18 #296E18
monochromatic
#0B0519 #1B0D3C #32186E #4923A0 #602FD2

Accessibility & contrast

On white

14.08
#32186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#32186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32186E
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32186E#FFFFFF#000000##FFFFFF
##32186E1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#1C3042
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #32186e;
/* rgb */ color: rgb(50, 24, 110);
/* oklch */ color: oklch(30.6% 0.138 289.5);
Tailwind
colors: {
  custom: {
    50: '#715898',
    500: '#32186e',
    950: '#000000',
  },
}
SCSS
$custom: #32186e;
$custom-light: #715898;
$custom-dark: #000000;
JSON
{
  "hex": "#32186e",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 258.14,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30632,
    "c": 0.13755,
    "h": 289.5
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#32186E
secondary
#85A43E
accent
#E741B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #32186E

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

Preview Lab → · Contrast checker → · Palette generator →

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