#320C41#320C41

#320C41 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.9% C 0.099 H 314.5°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#320C41
RGBrgb(50, 12, 65)
HSLhsl(283, 69%, 15%)
HSVhsv(283, 82%, 25%)
CMYKcmyk(23.1%, 81.5%, 0%, 74.5%)
CIE-LABlab(11.43, 28.45, -24.93)
CIE-LCHlch(11.43, 37.83, 318.78°)
OKLaboklab(24.91% 0.0691 -0.0703)
OKLCHoklch(24.91% 0.099 314.5)
XYZxyz(2.4008, 1.3228, 5.1289)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320C41 #1B410C
analogous
#180C41 #320C41 #410C35
triadic
#320C41 #41320C #0C4132
tetradic
#320C41 #41180C #1B410C #0C3541
square
#320C41 #41180C #1B410C #0C3541
split-complementary
#320C41 #35410C #0C4118
monochromatic
#14051A #14051A #320C41 #5A1675 #811FA8

Accessibility & contrast

On white

16.61
#320C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#320C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320C41
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320C41#FFFFFF#000000##FFFFFF
##320C411.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#091F40
Tritanopia (blue-blind)
#311725
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #320c41;
/* rgb */ color: rgb(50, 12, 65);
/* oklch */ color: oklch(24.9% 0.099 314.5);
Tailwind
colors: {
  custom: {
    50: '#6c4f76',
    500: '#320c41',
    950: '#000000',
  },
}
SCSS
$custom: #320c41;
$custom-light: #6c4f76;
$custom-dark: #000000;
JSON
{
  "hex": "#320c41",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 283.019,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24909,
    "c": 0.09855,
    "h": 314.5
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#320C41
secondary
#437D2C
accent
#EC3C6E
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #320C41

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

Preview Lab → · Contrast checker → · Palette generator →

#320C41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva