#320847#320847

#320847 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.110 H 311.0°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#320847
RGBrgb(50, 8, 71)
HSLhsl(280, 80%, 15%)
HSVhsv(280, 89%, 28%)
CMYKcmyk(29.6%, 88.7%, 0%, 72.2%)
CIE-LABlab(11.32, 31.70, -29.33)
CIE-LCHlch(11.32, 43.19, 317.23°)
OKLaboklab(24.99% 0.0722 -0.0832)
OKLCHoklch(24.99% 0.11 311)
XYZxyz(2.5393, 1.3068, 6.0785)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320847 #1D4708
analogous
#120847 #320847 #47083C
triadic
#320847 #473208 #084732
tetradic
#320847 #471208 #1D4708 #083C47
square
#320847 #471208 #1D4708 #083C47
split-complementary
#320847 #3C4708 #084712
monochromatic
#13031C #13031C #320847 #590E7E #7F14B5

Accessibility & contrast

On white

16.65
#320847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#320847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320847
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320847#FFFFFF#000000##FFFFFF
##3208471.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #320847;
/* rgb */ color: rgb(50, 8, 71);
/* oklch */ color: oklch(25.0% 0.110 311.0);
Tailwind
colors: {
  custom: {
    50: '#6d4d7b',
    500: '#320847',
    950: '#000000',
  },
}
SCSS
$custom: #320847;
$custom-light: #6d4d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#320847",
  "rgb": {
    "r": 50,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 280,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24991,
    "c": 0.11014,
    "h": 311
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#320847
secondary
#468526
accent
#F63273
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #320847

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

Preview Lab → · Contrast checker → · Palette generator →

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