#322666#322666

#322666 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.1% C 0.108 H 287.3°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#322666
RGBrgb(50, 38, 102)
HSLhsl(251, 46%, 27%)
HSVhsv(251, 63%, 40%)
CMYKcmyk(51%, 62.7%, 0%, 60%)
CIE-LABlab(20.14, 23.85, -35.97)
CIE-LCHlch(20.14, 43.16, 303.54°)
OKLaboklab(32.15% 0.0321 -0.1028)
OKLCHoklch(32.15% 0.108 287.3)
XYZxyz(4.4061, 3.0235, 12.9192)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322666 #5A6626
analogous
#263A66 #322666 #522666
triadic
#322666 #663226 #266632
tetradic
#322666 #66263A #5A6626 #266652
square
#322666 #66263A #5A6626 #266652
split-complementary
#322666 #665226 #3A6626
monochromatic
#0B0816 #1C1539 #322666 #483793 #604BBC

Accessibility & contrast

On white

13.09
#322666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#322666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322666
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322666#FFFFFF#000000##FFFFFF
##3226661.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#203542
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #322666;
/* rgb */ color: rgb(50, 38, 102);
/* oklch */ color: oklch(32.1% 0.108 287.3);
Tailwind
colors: {
  custom: {
    50: '#6f6192',
    500: '#322666',
    950: '#000000',
  },
}
SCSS
$custom: #322666;
$custom-light: #6f6192;
$custom-dark: #000000;
JSON
{
  "hex": "#322666",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 102
  },
  "hsl": {
    "h": 251.25,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32149,
    "c": 0.10772,
    "h": 287.3
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#322666
secondary
#8B994F
accent
#D552BD
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08050D
muted
#7B797E

Preview Lab

Preview with #322666

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

Preview Lab → · Contrast checker → · Palette generator →

#322666 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva