#320738#320738

#320738 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.096 H 322.5°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#320738
RGBrgb(50, 7, 56)
HSLhsl(293, 78%, 12%)
HSVhsv(293, 88%, 22%)
CMYKcmyk(10.7%, 87.5%, 0%, 78%)
CIE-LABlab(9.92, 28.69, -20.93)
CIE-LCHlch(9.92, 35.51, 323.89°)
OKLaboklab(23.61% 0.0762 -0.0585)
OKLCHoklch(23.61% 0.096 322.5)
XYZxyz(2.1051, 1.1157, 3.8451)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320738 #0D3807
analogous
#1A0738 #320738 #380726
triadic
#320738 #383207 #073832
tetradic
#320738 #381A07 #0D3807 #072638
square
#320738 #381A07 #0D3807 #072638
split-complementary
#320738 #263807 #07381A
monochromatic
#18031B #18031B #320738 #630E6E #9315A5

Accessibility & contrast

On white

17.17
#320738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320738
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320738#FFFFFF#000000##FFFFFF
##3207381.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#0E1D37
Tritanopia (blue-blind)
#33101F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320738;
/* rgb */ color: rgb(50, 7, 56);
/* oklch */ color: oklch(23.6% 0.096 322.5);
Tailwind
colors: {
  custom: {
    50: '#6c4c6f',
    500: '#320738',
    950: '#000000',
  },
}
SCSS
$custom: #320738;
$custom-light: #6c4c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#320738",
  "rgb": {
    "r": 50,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 292.653,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23609,
    "c": 0.09607,
    "h": 322.5
  },
  "luminance": 0.01116
}

Semantic roles & 50–950 ramp

primary
#320738
secondary
#2E7823
accent
#F4344B
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #320738

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

Preview Lab → · Contrast checker → · Palette generator →

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