#322652#322652

#322652 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.6% C 0.077 H 293.9°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#322652
RGBrgb(50, 38, 82)
HSLhsl(256, 37%, 24%)
HSVhsv(256, 54%, 32%)
CMYKcmyk(39%, 53.7%, 0%, 67.8%)
CIE-LABlab(18.69, 17.33, -25.04)
CIE-LCHlch(18.69, 30.45, 304.69°)
OKLaboklab(30.61% 0.0313 -0.0707)
OKLCHoklch(30.61% 0.077 293.9)
XYZxyz(3.5311, 2.6735, 8.3110)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322652 #465226
analogous
#263052 #322652 #482652
triadic
#322652 #523226 #265232
tetradic
#322652 #522630 #465226 #265248
square
#322652 #522630 #465226 #265248
split-complementary
#322652 #524826 #305226
monochromatic
#0D0A15 #181328 #322652 #4B397C #654DA6

Accessibility & contrast

On white

13.68
#322652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#322652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322652
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322652#FFFFFF#000000##FFFFFF
##3226521.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E54
Deuteranopia (green-blind)
#182D51
Tritanopia (blue-blind)
#2A2F38
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #322652;
/* rgb */ color: rgb(50, 38, 82);
/* oklch */ color: oklch(30.6% 0.077 293.9);
Tailwind
colors: {
  custom: {
    50: '#6c6083',
    500: '#322652',
    950: '#000000',
  },
}
SCSS
$custom: #322652;
$custom-light: #6c6083;
$custom-dark: #000000;
JSON
{
  "hex": "#322652",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 82
  },
  "hsl": {
    "h": 256.364,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30608,
    "c": 0.07733,
    "h": 293.9
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#322652
secondary
#76854F
accent
#CD5BAE
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#07050A
muted
#7A797C

Preview Lab

Preview with #322652

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

Preview Lab → · Contrast checker → · Palette generator →

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