#32284A#32284A

#32284A is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.5% C 0.061 H 296.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#32284A
RGBrgb(50, 40, 74)
HSLhsl(258, 30%, 22%)
HSVhsv(258, 46%, 29%)
CMYKcmyk(32.4%, 45.9%, 0%, 71%)
CIE-LABlab(18.76, 13.46, -19.51)
CIE-LCHlch(18.76, 23.70, 304.61°)
OKLaboklab(30.5% 0.0268 -0.0546)
OKLCHoklch(30.5% 0.061 296.2)
XYZxyz(3.3099, 2.6901, 6.8221)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32284A #404A28
analogous
#282F4A #32284A #43284A
triadic
#32284A #4A3228 #284A32
tetradic
#32284A #4A282F #404A28 #284A43
square
#32284A #4A282F #404A28 #284A43
split-complementary
#32284A #4A4328 #2F4A28
monochromatic
#0D0B14 #171322 #32284A #4D3D72 #685399

Accessibility & contrast

On white

13.65
#32284A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#32284A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32284A
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32284A#FFFFFF#000000##FFFFFF
##32284A1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4B
Deuteranopia (green-blind)
#202D49
Tritanopia (blue-blind)
#2D2E35
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #32284a;
/* rgb */ color: rgb(50, 40, 74);
/* oklch */ color: oklch(30.5% 0.061 296.2);
Tailwind
colors: {
  custom: {
    50: '#6b627c',
    500: '#32284a',
    950: '#000000',
  },
}
SCSS
$custom: #32284a;
$custom-light: #6b627c;
$custom-dark: #000000;
JSON
{
  "hex": "#32284a",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 74
  },
  "hsl": {
    "h": 257.647,
    "s": 29.825,
    "l": 22.353
  },
  "oklch": {
    "l": 0.305,
    "c": 0.0608,
    "h": 296.2
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#32284A
secondary
#707C51
accent
#C662A9
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#060509
muted
#7A797B

Preview Lab

Preview with #32284A

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

Preview Lab → · Contrast checker → · Palette generator →

#32284A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva