#322351#322351

#322351 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 29.9% C 0.081 H 296.2°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#322351
RGBrgb(50, 35, 81)
HSLhsl(260, 40%, 23%)
HSVhsv(260, 57%, 32%)
CMYKcmyk(38.3%, 56.8%, 0%, 68.2%)
CIE-LABlab(17.80, 19.07, -25.77)
CIE-LCHlch(17.80, 32.06, 306.50°)
OKLaboklab(29.93% 0.0358 -0.0729)
OKLCHoklch(29.93% 0.081 296.2)
XYZxyz(3.4013, 2.4742, 8.0814)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322351 #425123
analogous
#232B51 #322351 #492351
triadic
#322351 #513223 #235132
tetradic
#322351 #51232B #425123 #235149
square
#322351 #51232B #425123 #235149
split-complementary
#322351 #514923 #2B5123
monochromatic
#0D0915 #181126 #322351 #4C357C #6748A6

Accessibility & contrast

On white

14.05
#322351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#322351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322351
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322351#FFFFFF#000000##FFFFFF
##3223511.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112C53
Deuteranopia (green-blind)
#152B50
Tritanopia (blue-blind)
#2B2C36
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #322351;
/* rgb */ color: rgb(50, 35, 81);
/* oklch */ color: oklch(29.9% 0.081 296.2);
Tailwind
colors: {
  custom: {
    50: '#6c5e82',
    500: '#322351',
    950: '#000000',
  },
}
SCSS
$custom: #322351;
$custom-light: #6c5e82;
$custom-dark: #000000;
JSON
{
  "hex": "#322351",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 81
  },
  "hsl": {
    "h": 259.565,
    "s": 39.655,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29927,
    "c": 0.08119,
    "h": 296.2
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#322351
secondary
#72854B
accent
#D058A9
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#07040A
muted
#7A797C

Preview Lab

Preview with #322351

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

Preview Lab → · Contrast checker → · Palette generator →

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