#322751#322751

#322751 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.7% C 0.074 H 293.6°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#322751
RGBrgb(50, 39, 81)
HSLhsl(256, 35%, 24%)
HSVhsv(256, 52%, 32%)
CMYKcmyk(38.3%, 51.9%, 0%, 68.2%)
CIE-LABlab(18.90, 16.32, -24.02)
CIE-LCHlch(18.90, 29.04, 304.20°)
OKLaboklab(30.75% 0.0297 -0.0677)
OKLCHoklch(30.75% 0.074 293.6)
XYZxyz(3.5257, 2.7232, 8.1229)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322751 #465127
analogous
#273151 #322751 #472751
triadic
#322751 #513227 #275132
tetradic
#322751 #512731 #465127 #275147
square
#322751 #512731 #465127 #275147
split-complementary
#322751 #514727 #315127
monochromatic
#0D0A15 #181328 #322751 #4B3B7A #654FA4

Accessibility & contrast

On white

13.60
#322751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#322751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322751
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322751#FFFFFF#000000##FFFFFF
##3227511.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182E53
Deuteranopia (green-blind)
#1A2D50
Tritanopia (blue-blind)
#2B2F38
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #322751;
/* rgb */ color: rgb(50, 39, 81);
/* oklch */ color: oklch(30.7% 0.074 293.6);
Tailwind
colors: {
  custom: {
    50: '#6c6182',
    500: '#322751',
    950: '#000000',
  },
}
SCSS
$custom: #322751;
$custom-light: #6c6182;
$custom-dark: #000000;
JSON
{
  "hex": "#322751",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 255.714,
    "s": 35,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30747,
    "c": 0.07394,
    "h": 293.6
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#322751
secondary
#768450
accent
#CB5DAE
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #322751

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

Preview Lab → · Contrast checker → · Palette generator →

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