#320440#320440

#320440 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.9% C 0.108 H 316.5°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#320440
RGBrgb(50, 4, 64)
HSLhsl(286, 88%, 13%)
HSVhsv(286, 94%, 25%)
CMYKcmyk(21.9%, 93.8%, 0%, 74.9%)
CIE-LABlab(10.07, 31.91, -26.42)
CIE-LCHlch(10.07, 41.43, 320.38°)
OKLaboklab(23.92% 0.0786 -0.0746)
OKLCHoklch(23.92% 0.108 316.5)
XYZxyz(2.2841, 1.1352, 4.9483)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320440 #124004
analogous
#140440 #320440 #400430
triadic
#320440 #403204 #044032
tetradic
#320440 #401404 #124004 #043040
square
#320440 #401404 #124004 #043040
split-complementary
#320440 #304004 #044014
monochromatic
#16021D #16021D #320440 #5F087A #8C0BB3

Accessibility & contrast

On white

17.11
#320440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#320440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320440
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320440#FFFFFF#000000##FFFFFF
##3204401.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#041D3F
Tritanopia (blue-blind)
#311223
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #320440;
/* rgb */ color: rgb(50, 4, 64);
/* oklch */ color: oklch(23.9% 0.108 316.5);
Tailwind
colors: {
  custom: {
    50: '#6d4b75',
    500: '#320440',
    950: '#000000',
  },
}
SCSS
$custom: #320440;
$custom-light: #6d4b75;
$custom-dark: #000000;
JSON
{
  "hex": "#320440",
  "rgb": {
    "r": 50,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 286,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23921,
    "c": 0.10834,
    "h": 316.5
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#320440
secondary
#36811F
accent
#FE295B
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #320440

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

Preview Lab → · Contrast checker → · Palette generator →

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