#320733#320733

#320733 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.091 H 327.0°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#320733
RGBrgb(50, 7, 51)
HSLhsl(299, 76%, 11%)
HSVhsv(299, 86%, 20%)
CMYKcmyk(2%, 86.3%, 0%, 80%)
CIE-LABlab(9.56, 27.63, -17.87)
CIE-LCHlch(9.56, 32.91, 327.11°)
OKLaboklab(23.23% 0.0765 -0.0496)
OKLCHoklch(23.23% 0.091 327)
XYZxyz(1.9889, 1.0692, 3.2330)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320733 #083307
analogous
#1C0733 #320733 #33071E
triadic
#320733 #333207 #073332
tetradic
#320733 #331C07 #083307 #071E33
square
#320733 #331C07 #083307 #071E33
split-complementary
#320733 #1E3307 #07331C
monochromatic
#1A041B #1A041B #320733 #670E69 #9C169F

Accessibility & contrast

On white

17.30
#320733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#320733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320733
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320733#FFFFFF#000000##FFFFFF
##3207331.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011734
Deuteranopia (green-blind)
#121C32
Tritanopia (blue-blind)
#340E1C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320733;
/* rgb */ color: rgb(50, 7, 51);
/* oklch */ color: oklch(23.2% 0.091 327.0);
Tailwind
colors: {
  custom: {
    50: '#6c4c6b',
    500: '#320733',
    950: '#000000',
  },
}
SCSS
$custom: #320733;
$custom-light: #6c4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#320733",
  "rgb": {
    "r": 50,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 298.636,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23232,
    "c": 0.09117,
    "h": 327
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#320733
secondary
#257323
accent
#F2353A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #320733

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

Preview Lab → · Contrast checker → · Palette generator →

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