#322452#322452

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

Color values

HEX#322452
RGBrgb(50, 36, 82)
HSLhsl(258, 39%, 23%)
HSVhsv(258, 56%, 32%)
CMYKcmyk(39%, 56.1%, 0%, 67.8%)
CIE-LABlab(18.14, 18.70, -25.91)
CIE-LCHlch(18.14, 31.95, 305.82°)
OKLaboklab(30.2% 0.0344 -0.0733)
OKLCHoklch(30.2% 0.081 295.2)
XYZxyz(3.4689, 2.5490, 8.2903)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322452 #445224
analogous
#242D52 #322452 #492452
triadic
#322452 #523224 #245232
tetradic
#322452 #52242D #445224 #245249
square
#322452 #52242D #445224 #245249
split-complementary
#322452 #524924 #2D5224
monochromatic
#0D0915 #181127 #322452 #4C377D #6649A7

Accessibility & contrast

On white

13.91
#322452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#322452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322452
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322452#FFFFFF#000000##FFFFFF
##3224521.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122D54
Deuteranopia (green-blind)
#152C51
Tritanopia (blue-blind)
#2A2D37
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #322452;
/* rgb */ color: rgb(50, 36, 82);
/* oklch */ color: oklch(30.2% 0.081 295.2);
Tailwind
colors: {
  custom: {
    50: '#6c5f83',
    500: '#322452',
    950: '#000000',
  },
}
SCSS
$custom: #322452;
$custom-light: #6c5f83;
$custom-dark: #000000;
JSON
{
  "hex": "#322452",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 258.261,
    "s": 38.983,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30199,
    "c": 0.08093,
    "h": 295.2
  },
  "luminance": 0.02549
}

Semantic roles & 50–950 ramp

primary
#322452
secondary
#74864C
accent
#CF59AB
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#07040A
muted
#7A797C

Preview Lab

Preview with #322452

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

Preview Lab → · Contrast checker → · Palette generator →

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