#322A4E#322A4E

#322A4E is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.2% C 0.064 H 292.5°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#322A4E
RGBrgb(50, 42, 78)
HSLhsl(253, 30%, 24%)
HSVhsv(253, 46%, 31%)
CMYKcmyk(35.9%, 46.2%, 0%, 69.4%)
CIE-LABlab(19.57, 13.30, -20.93)
CIE-LCHlch(19.57, 24.80, 302.43°)
OKLaboklab(31.2% 0.0244 -0.0587)
OKLCHoklch(31.2% 0.064 292.5)
XYZxyz(3.5182, 2.8840, 7.5776)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A4E #464E2A
analogous
#2A344E #322A4E #442A4E
triadic
#322A4E #4E322A #2A4E32
tetradic
#322A4E #4E2A34 #464E2A #2A4E44
square
#322A4E #4E2A34 #464E2A #2A4E44
split-complementary
#322A4E #4E442A #344E2A
monochromatic
#0D0B14 #181526 #322A4E #4B3F76 #65559E

Accessibility & contrast

On white

13.32
#322A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#322A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A4E
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A4E#FFFFFF#000000##FFFFFF
##322A4E1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#2B3138
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #322a4e;
/* rgb */ color: rgb(50, 42, 78);
/* oklch */ color: oklch(31.2% 0.064 292.5);
Tailwind
colors: {
  custom: {
    50: '#6b6380',
    500: '#322a4e',
    950: '#000000',
  },
}
SCSS
$custom: #322a4e;
$custom-light: #6b6380;
$custom-dark: #000000;
JSON
{
  "hex": "#322a4e",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 253.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31195,
    "c": 0.06358,
    "h": 292.5
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#322A4E
secondary
#768054
accent
#C662B0
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #322A4E

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

Preview Lab → · Contrast checker → · Palette generator →

#322A4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva