#321648#321648

#321648 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.091 H 307.1°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#321648
RGBrgb(50, 22, 72)
HSLhsl(274, 53%, 18%)
HSVhsv(274, 69%, 28%)
CMYKcmyk(30.6%, 69.4%, 0%, 71.8%)
CIE-LABlab(13.94, 24.84, -25.79)
CIE-LCHlch(13.94, 35.81, 313.92°)
OKLaboklab(26.88% 0.0551 -0.0729)
OKLCHoklch(26.88% 0.091 307.1)
XYZxyz(2.7718, 1.7198, 6.3156)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321648 #2C4816
analogous
#191648 #321648 #481645
triadic
#321648 #483216 #164832
tetradic
#321648 #481916 #2C4816 #164548
square
#321648 #481916 #2C4816 #164548
split-complementary
#321648 #454816 #164819
monochromatic
#100717 #110819 #321648 #532477 #7333A6

Accessibility & contrast

On white

15.62
#321648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#321648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321648
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321648#FFFFFF#000000##FFFFFF
##3216481.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#0C2447
Tritanopia (blue-blind)
#2E202C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321648;
/* rgb */ color: rgb(50, 22, 72);
/* oklch */ color: oklch(26.9% 0.091 307.1);
Tailwind
colors: {
  custom: {
    50: '#6c557b',
    500: '#321648',
    950: '#000000',
  },
}
SCSS
$custom: #321648;
$custom-light: #6c557b;
$custom-dark: #000000;
JSON
{
  "hex": "#321648",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 273.6,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26884,
    "c": 0.09137,
    "h": 307.1
  },
  "luminance": 0.0172
}

Semantic roles & 50–950 ramp

primary
#321648
secondary
#597F3A
accent
#DD4B8B
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #321648

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

Preview Lab → · Contrast checker → · Palette generator →

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