#320844#320844

#320844 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.107 H 313.0°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#320844
RGBrgb(50, 8, 68)
HSLhsl(282, 79%, 15%)
HSVhsv(282, 88%, 27%)
CMYKcmyk(26.5%, 88.2%, 0%, 73.3%)
CIE-LABlab(11.06, 30.98, -27.65)
CIE-LCHlch(11.06, 41.52, 318.24°)
OKLaboklab(24.72% 0.073 -0.0782)
OKLCHoklch(24.72% 0.107 313)
XYZxyz(2.4454, 1.2692, 5.5839)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320844 #1A4408
analogous
#140844 #320844 #440838
triadic
#320844 #443208 #084432
tetradic
#320844 #441408 #1A4408 #083844
square
#320844 #441408 #1A4408 #083844
split-complementary
#320844 #384408 #084414
monochromatic
#14031B #14031B #320844 #5A0E7B #8315B2

Accessibility & contrast

On white

16.75
#320844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320844
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320844#FFFFFF#000000##FFFFFF
##3208441.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#021E43
Tritanopia (blue-blind)
#301626
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #320844;
/* rgb */ color: rgb(50, 8, 68);
/* oklch */ color: oklch(24.7% 0.107 313.0);
Tailwind
colors: {
  custom: {
    50: '#6d4d78',
    500: '#320844',
    950: '#000000',
  },
}
SCSS
$custom: #320844;
$custom-light: #6d4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#320844",
  "rgb": {
    "r": 50,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 282,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24722,
    "c": 0.10698,
    "h": 313
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#320844
secondary
#418226
accent
#F5326D
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #320844

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

Preview Lab → · Contrast checker → · Palette generator →

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