#320D41#320D41

#320D41 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.097 H 314.3°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#320D41
RGBrgb(50, 13, 65)
HSLhsl(283, 67%, 15%)
HSVhsv(283, 80%, 25%)
CMYKcmyk(23.1%, 80%, 0%, 74.5%)
CIE-LABlab(11.61, 27.97, -24.65)
CIE-LCHlch(11.61, 37.29, 318.61°)
OKLaboklab(25.03% 0.0678 -0.0695)
OKLCHoklch(25.03% 0.097 314.3)
XYZxyz(2.4133, 1.3477, 5.1330)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320D41 #1C410D
analogous
#180D41 #320D41 #410D36
triadic
#320D41 #41320D #0D4132
tetradic
#320D41 #41180D #1C410D #0D3641
square
#320D41 #41180D #1C410D #0D3641
split-complementary
#320D41 #36410D #0D4118
monochromatic
#14051A #14051A #320D41 #591774 #8021A7

Accessibility & contrast

On white

16.54
#320D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#320D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320D41
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320D41#FFFFFF#000000##FFFFFF
##320D411.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#0A2040
Tritanopia (blue-blind)
#311826
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #320d41;
/* rgb */ color: rgb(50, 13, 65);
/* oklch */ color: oklch(25.0% 0.097 314.3);
Tailwind
colors: {
  custom: {
    50: '#6c4f76',
    500: '#320d41',
    950: '#000000',
  },
}
SCSS
$custom: #320d41;
$custom-light: #6c4f76;
$custom-dark: #000000;
JSON
{
  "hex": "#320d41",
  "rgb": {
    "r": 50,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 282.692,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25031,
    "c": 0.09712,
    "h": 314.3
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#320D41
secondary
#447D2D
accent
#EA3E70
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #320D41

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

Preview Lab → · Contrast checker → · Palette generator →

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