#322951#322951

#322951 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.2% C 0.070 H 292.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#322951
RGBrgb(50, 41, 81)
HSLhsl(254, 33%, 24%)
HSVhsv(254, 49%, 32%)
CMYKcmyk(38.3%, 49.4%, 0%, 68.2%)
CIE-LABlab(19.47, 14.94, -23.12)
CIE-LCHlch(19.47, 27.53, 302.86°)
OKLaboklab(31.17% 0.0265 -0.0651)
OKLCHoklch(31.17% 0.07 292.2)
XYZxyz(3.5931, 2.8580, 8.1453)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322951 #485129
analogous
#293451 #322951 #462951
triadic
#322951 #513229 #295132
tetradic
#322951 #512934 #485129 #295146
square
#322951 #512934 #485129 #295146
split-complementary
#322951 #514629 #345129
monochromatic
#0D0A14 #191428 #322951 #4B3E7A #6452A2

Accessibility & contrast

On white

13.36
#322951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#322951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322951
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322951#FFFFFF#000000##FFFFFF
##3229511.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3052
Deuteranopia (green-blind)
#1D2E50
Tritanopia (blue-blind)
#2A3139
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #322951;
/* rgb */ color: rgb(50, 41, 81);
/* oklch */ color: oklch(31.2% 0.070 292.2);
Tailwind
colors: {
  custom: {
    50: '#6b6282',
    500: '#322951',
    950: '#000000',
  },
}
SCSS
$custom: #322951;
$custom-light: #6b6282;
$custom-dark: #000000;
JSON
{
  "hex": "#322951",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 253.5,
    "s": 32.787,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31173,
    "c": 0.0703,
    "h": 292.2
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#322951
secondary
#788352
accent
#C95FB1
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #322951

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

Preview Lab → · Contrast checker → · Palette generator →

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