#322752#322752

#322752 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.8% C 0.076 H 293.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#322752
RGBrgb(50, 39, 82)
HSLhsl(255, 36%, 24%)
HSVhsv(255, 52%, 32%)
CMYKcmyk(39%, 52.4%, 0%, 67.8%)
CIE-LABlab(18.96, 16.64, -24.59)
CIE-LCHlch(18.96, 29.69, 304.08°)
OKLaboklab(30.82% 0.0298 -0.0694)
OKLCHoklch(30.82% 0.076 293.2)
XYZxyz(3.5635, 2.7383, 8.3218)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322752 #475227
analogous
#273152 #322752 #472752
triadic
#322752 #523227 #275232
tetradic
#322752 #522731 #475227 #275247
square
#322752 #522731 #475227 #275247
split-complementary
#322752 #524727 #315227
monochromatic
#0D0A15 #191329 #322752 #4B3B7B #654EA5

Accessibility & contrast

On white

13.57
#322752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#322752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322752
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322752#FFFFFF#000000##FFFFFF
##3227521.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F54
Deuteranopia (green-blind)
#192D51
Tritanopia (blue-blind)
#2A2F38
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #322752;
/* rgb */ color: rgb(50, 39, 82);
/* oklch */ color: oklch(30.8% 0.076 293.2);
Tailwind
colors: {
  custom: {
    50: '#6c6183',
    500: '#322752',
    950: '#000000',
  },
}
SCSS
$custom: #322752;
$custom-light: #6c6183;
$custom-dark: #000000;
JSON
{
  "hex": "#322752",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 82
  },
  "hsl": {
    "h": 255.349,
    "s": 35.537,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30816,
    "c": 0.07553,
    "h": 293.2
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#322752
secondary
#778550
accent
#CC5CAF
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#07050A
muted
#7A797C

Preview Lab

Preview with #322752

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

Preview Lab → · Contrast checker → · Palette generator →

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