#322256#322256

#322256 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.1% C 0.090 H 294.5°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#322256
RGBrgb(50, 34, 86)
HSLhsl(258, 43%, 24%)
HSVhsv(258, 60%, 34%)
CMYKcmyk(41.9%, 60.5%, 0%, 66.3%)
CIE-LABlab(17.89, 21.31, -29.00)
CIE-LCHlch(17.89, 35.99, 306.32°)
OKLaboklab(30.11% 0.0376 -0.0823)
OKLCHoklch(30.11% 0.09 294.5)
XYZxyz(3.5667, 2.4940, 9.0958)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322256 #465622
analogous
#222C56 #322256 #4C2256
triadic
#322256 #563222 #225632
tetradic
#322256 #56222C #465622 #22564C
square
#322256 #56222C #465622 #22564C
split-complementary
#322256 #564C22 #2C5622
monochromatic
#0D0916 #18112A #322256 #4B3382 #6545AE

Accessibility & contrast

On white

14.01
#322256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#322256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322256
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322256#FFFFFF#000000##FFFFFF
##3222561.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092C58
Deuteranopia (green-blind)
#0E2B55
Tritanopia (blue-blind)
#292D38
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #322256;
/* rgb */ color: rgb(50, 34, 86);
/* oklch */ color: oklch(30.1% 0.090 294.5);
Tailwind
colors: {
  custom: {
    50: '#6d5d86',
    500: '#322256',
    950: '#000000',
  },
}
SCSS
$custom: #322256;
$custom-light: #6d5d86;
$custom-dark: #000000;
JSON
{
  "hex": "#322256",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 258.462,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30107,
    "c": 0.09049,
    "h": 294.5
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#322256
secondary
#768A4A
accent
#D355AC
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #322256

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

Preview Lab → · Contrast checker → · Palette generator →

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