#322155#322155

#322155 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.8% C 0.091 H 295.4°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#322155
RGBrgb(50, 33, 85)
HSLhsl(260, 44%, 23%)
HSVhsv(260, 61%, 33%)
CMYKcmyk(41.2%, 61.2%, 0%, 66.7%)
CIE-LABlab(17.56, 21.67, -28.86)
CIE-LCHlch(17.56, 36.08, 306.90°)
OKLaboklab(29.84% 0.039 -0.0819)
OKLCHoklch(29.84% 0.091 295.4)
XYZxyz(3.4985, 2.4216, 8.8757)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322155 #445521
analogous
#212A55 #322155 #4C2155
triadic
#322155 #553221 #215532
tetradic
#322155 #55212A #445521 #21554C
square
#322155 #55212A #445521 #21554C
split-complementary
#322155 #554C21 #2A5521
monochromatic
#0D0916 #181029 #322155 #4C3281 #6643AD

Accessibility & contrast

On white

14.15
#322155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#322155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322155
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322155#FFFFFF#000000##FFFFFF
##3221551.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072B57
Deuteranopia (green-blind)
#0D2A54
Tritanopia (blue-blind)
#292C37
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #322155;
/* rgb */ color: rgb(50, 33, 85);
/* oklch */ color: oklch(29.8% 0.091 295.4);
Tailwind
colors: {
  custom: {
    50: '#6d5d85',
    500: '#322155',
    950: '#000000',
  },
}
SCSS
$custom: #322155;
$custom-light: #6d5d85;
$custom-dark: #000000;
JSON
{
  "hex": "#322155",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 259.615,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29839,
    "c": 0.09071,
    "h": 295.4
  },
  "luminance": 0.02422
}

Semantic roles & 50–950 ramp

primary
#322155
secondary
#748949
accent
#D454AA
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #322155

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

Preview Lab → · Contrast checker → · Palette generator →

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