#32285E#32285E

#32285E is a dark, moderate violet. Relative luminance 0.030; OKLCH L 31.9% C 0.093 H 288.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#32285E
RGBrgb(50, 40, 94)
HSLhsl(251, 40%, 26%)
HSVhsv(251, 57%, 37%)
CMYKcmyk(46.8%, 57.4%, 0%, 63.1%)
CIE-LABlab(20.06, 19.84, -30.84)
CIE-LCHlch(20.06, 36.67, 302.76°)
OKLaboklab(31.9% 0.0294 -0.0877)
OKLCHoklch(31.9% 0.093 288.5)
XYZxyz(4.0940, 3.0037, 10.9516)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32285E #545E28
analogous
#28395E #32285E #4D285E
triadic
#32285E #5E3228 #285E32
tetradic
#32285E #5E2839 #545E28 #285E4D
square
#32285E #5E2839 #545E28 #285E4D
split-complementary
#32285E #5E4D28 #395E28
monochromatic
#0B0915 #1B1633 #32285E #493A89 #604DB3

Accessibility & contrast

On white

13.12
#32285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#32285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32285E
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32285E#FFFFFF#000000##FFFFFF
##32285E1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3260
Deuteranopia (green-blind)
#0E2F5D
Tritanopia (blue-blind)
#25343E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #32285e;
/* rgb */ color: rgb(50, 40, 94);
/* oklch */ color: oklch(31.9% 0.093 288.5);
Tailwind
colors: {
  custom: {
    50: '#6d628c',
    500: '#32285e',
    950: '#000000',
  },
}
SCSS
$custom: #32285e;
$custom-light: #6d628c;
$custom-dark: #000000;
JSON
{
  "hex": "#32285e",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 251.111,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31898,
    "c": 0.09252,
    "h": 288.5
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#32285E
secondary
#859151
accent
#D058BA
background
#F6F5F8
surface
#ECEAF0
border
#C7C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #32285E

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

Preview Lab → · Contrast checker → · Palette generator →

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