#321647#321647

#321647 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.090 H 307.8°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#321647
RGBrgb(50, 22, 71)
HSLhsl(274, 53%, 18%)
HSVhsv(274, 69%, 28%)
CMYKcmyk(29.6%, 69%, 0%, 72.2%)
CIE-LABlab(13.87, 24.56, -25.22)
CIE-LCHlch(13.87, 35.21, 314.24°)
OKLaboklab(26.81% 0.0551 -0.0712)
OKLCHoklch(26.81% 0.09 307.8)
XYZxyz(2.7394, 1.7069, 6.1452)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321647 #2B4716
analogous
#191647 #321647 #471643
triadic
#321647 #473216 #164732
tetradic
#321647 #471916 #2B4716 #164347
square
#321647 #471916 #2B4716 #164347
split-complementary
#321647 #434716 #164719
monochromatic
#100717 #110818 #321647 #532476 #7433A4

Accessibility & contrast

On white

15.66
#321647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321647
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321647#FFFFFF#000000##FFFFFF
##3216471.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012249
Deuteranopia (green-blind)
#0E2446
Tritanopia (blue-blind)
#2F202C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321647;
/* rgb */ color: rgb(50, 22, 71);
/* oklch */ color: oklch(26.8% 0.090 307.8);
Tailwind
colors: {
  custom: {
    50: '#6c557a',
    500: '#321647',
    950: '#000000',
  },
}
SCSS
$custom: #321647;
$custom-light: #6c557a;
$custom-dark: #000000;
JSON
{
  "hex": "#321647",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 274.286,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26805,
    "c": 0.09006,
    "h": 307.8
  },
  "luminance": 0.01707
}

Semantic roles & 50–950 ramp

primary
#321647
secondary
#587E3A
accent
#DC4C8A
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321647

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

Preview Lab → · Contrast checker → · Palette generator →

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