#320739#320739

#320739 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.097 H 321.6°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#320739
RGBrgb(50, 7, 57)
HSLhsl(292, 78%, 13%)
HSVhsv(292, 88%, 22%)
CMYKcmyk(12.3%, 87.7%, 0%, 77.6%)
CIE-LABlab(10.00, 28.91, -21.53)
CIE-LCHlch(10.00, 36.04, 323.33°)
OKLaboklab(23.69% 0.0761 -0.0603)
OKLCHoklch(23.69% 0.097 321.6)
XYZxyz(2.1298, 1.1256, 3.9752)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320739 #0E3907
analogous
#190739 #320739 #390727
triadic
#320739 #393207 #073932
tetradic
#320739 #391907 #0E3907 #072739
square
#320739 #391907 #0E3907 #072739
split-complementary
#320739 #273907 #073919
monochromatic
#18031B #18031B #320739 #620E70 #9214A6

Accessibility & contrast

On white

17.14
#320739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#320739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320739
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320739#FFFFFF#000000##FFFFFF
##3207391.0017.141.2217.14
#FFFFFF17.141.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#0E1D38
Tritanopia (blue-blind)
#33111F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320739;
/* rgb */ color: rgb(50, 7, 57);
/* oklch */ color: oklch(23.7% 0.097 321.6);
Tailwind
colors: {
  custom: {
    50: '#6c4c70',
    500: '#320739',
    950: '#000000',
  },
}
SCSS
$custom: #320739;
$custom-light: #6c4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#320739",
  "rgb": {
    "r": 50,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 291.6,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23688,
    "c": 0.09707,
    "h": 321.6
  },
  "luminance": 0.01125
}

Semantic roles & 50–950 ramp

primary
#320739
secondary
#2F7923
accent
#F5334E
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #320739

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

Preview Lab → · Contrast checker → · Palette generator →

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