#320647#320647

#320647 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.113 H 311.3°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#320647
RGBrgb(50, 6, 71)
HSLhsl(281, 84%, 15%)
HSVhsv(281, 92%, 28%)
CMYKcmyk(29.6%, 91.5%, 0%, 72.2%)
CIE-LABlab(11.02, 32.59, -29.83)
CIE-LCHlch(11.02, 44.18, 317.54°)
OKLaboklab(24.78% 0.0743 -0.0846)
OKLCHoklch(24.78% 0.113 311.3)
XYZxyz(2.5176, 1.2634, 6.0712)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320647 #1B4706
analogous
#110647 #320647 #47063C
triadic
#320647 #473206 #064732
tetradic
#320647 #471106 #1B4706 #063C47
square
#320647 #471106 #1B4706 #063C47
split-complementary
#320647 #3C4706 #064711
monochromatic
#14021C #14021C #320647 #5A0B7F #8110B8

Accessibility & contrast

On white

16.77
#320647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#320647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320647
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320647#FFFFFF#000000##FFFFFF
##3206471.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#2F1727
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #320647;
/* rgb */ color: rgb(50, 6, 71);
/* oklch */ color: oklch(24.8% 0.113 311.3);
Tailwind
colors: {
  custom: {
    50: '#6d4d7b',
    500: '#320647',
    950: '#000000',
  },
}
SCSS
$custom: #320647;
$custom-light: #6d4d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#320647",
  "rgb": {
    "r": 50,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 280.615,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24777,
    "c": 0.11262,
    "h": 311.3
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#320647
secondary
#438623
accent
#FB2D70
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #320647

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

Preview Lab → · Contrast checker → · Palette generator →

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