#320730#320730

#320730 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.088 H 330.0°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#320730
RGBrgb(50, 7, 48)
HSLhsl(303, 75%, 11%)
HSVhsv(303, 86%, 20%)
CMYKcmyk(0%, 86%, 4%, 80.4%)
CIE-LABlab(9.35, 27.02, -15.99)
CIE-LCHlch(9.35, 31.40, 329.38°)
OKLaboklab(23.02% 0.0765 -0.0441)
OKLCHoklch(23.02% 0.088 330)
XYZxyz(1.9249, 1.0436, 2.8958)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320730 #073209
analogous
#1E0732 #320730 #32071A
triadic
#320730 #303207 #073032
tetradic
#320730 #321E07 #073209 #071A32
square
#320730 #321E07 #073209 #071A32
split-complementary
#320730 #1A3207 #07321E
monochromatic
#1B041A #1B041A #320730 #680F64 #9D1697

Accessibility & contrast

On white

17.38
#320730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320730
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320730#FFFFFF#000000##FFFFFF
##3207301.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031631
Deuteranopia (green-blind)
#141C2F
Tritanopia (blue-blind)
#340C1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320730;
/* rgb */ color: rgb(50, 7, 48);
/* oklch */ color: oklch(23.0% 0.088 330.0);
Tailwind
colors: {
  custom: {
    50: '#6c4c68',
    500: '#320730',
    950: '#000000',
  },
}
SCSS
$custom: #320730;
$custom-light: #6c4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#320730",
  "rgb": {
    "r": 50,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 302.791,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23018,
    "c": 0.08833,
    "h": 330
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#320730
secondary
#237227
accent
#F23F36
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #320730

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

Preview Lab → · Contrast checker → · Palette generator →

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