#320B41#320B41

#320B41 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.100 H 314.7°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#320B41
RGBrgb(50, 11, 65)
HSLhsl(283, 71%, 15%)
HSVhsv(283, 83%, 25%)
CMYKcmyk(23.1%, 83.1%, 0%, 74.5%)
CIE-LABlab(11.27, 28.92, -25.19)
CIE-LCHlch(11.27, 38.36, 318.94°)
OKLaboklab(24.79% 0.0702 -0.0711)
OKLCHoklch(24.79% 0.1 314.7)
XYZxyz(2.3890, 1.2992, 5.1249)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320B41 #1A410B
analogous
#170B41 #320B41 #410B35
triadic
#320B41 #41320B #0B4132
tetradic
#320B41 #41170B #1A410B #0B3541
square
#320B41 #41170B #1A410B #0B3541
split-complementary
#320B41 #35410B #0B4117
monochromatic
#14041A #14041A #320B41 #5A1475 #831DAA

Accessibility & contrast

On white

16.67
#320B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320B41
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320B41#FFFFFF#000000##FFFFFF
##320B411.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #320b41;
/* rgb */ color: rgb(50, 11, 65);
/* oklch */ color: oklch(24.8% 0.100 314.7);
Tailwind
colors: {
  custom: {
    50: '#6c4e76',
    500: '#320b41',
    950: '#000000',
  },
}
SCSS
$custom: #320b41;
$custom-light: #6c4e76;
$custom-dark: #000000;
JSON
{
  "hex": "#320b41",
  "rgb": {
    "r": 50,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 283.333,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24792,
    "c": 0.09992,
    "h": 314.7
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#320B41
secondary
#417E2A
accent
#EE3A6C
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #320B41

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

Preview Lab → · Contrast checker → · Palette generator →

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