#322653#322653

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

Color values

HEX#322653
RGBrgb(50, 38, 83)
HSLhsl(256, 37%, 24%)
HSVhsv(256, 54%, 33%)
CMYKcmyk(39.8%, 54.2%, 0%, 67.5%)
CIE-LABlab(18.75, 17.65, -25.60)
CIE-LCHlch(18.75, 31.10, 304.58°)
OKLaboklab(30.68% 0.0315 -0.0724)
OKLCHoklch(30.68% 0.079 293.5)
XYZxyz(3.5694, 2.6888, 8.5129)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322653 #475326
analogous
#263053 #322653 #482653
triadic
#322653 #533226 #265332
tetradic
#322653 #532630 #475326 #265348
square
#322653 #532630 #475326 #265348
split-complementary
#322653 #534826 #305326
monochromatic
#0D0A15 #191329 #322653 #4B397D #654CA7

Accessibility & contrast

On white

13.66
#322653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322653
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322653#FFFFFF#000000##FFFFFF
##3226531.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E55
Deuteranopia (green-blind)
#172D52
Tritanopia (blue-blind)
#2A2F38
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #322653;
/* rgb */ color: rgb(50, 38, 83);
/* oklch */ color: oklch(30.7% 0.079 293.5);
Tailwind
colors: {
  custom: {
    50: '#6c6084',
    500: '#322653',
    950: '#000000',
  },
}
SCSS
$custom: #322653;
$custom-light: #6c6084;
$custom-dark: #000000;
JSON
{
  "hex": "#322653",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 83
  },
  "hsl": {
    "h": 256,
    "s": 37.19,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30679,
    "c": 0.0789,
    "h": 293.5
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#322653
secondary
#77864F
accent
#CD5BAF
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#07050B
muted
#7A797C

Preview Lab

Preview with #322653

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

Preview Lab → · Contrast checker → · Palette generator →

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