#320A41#320A41

#320A41 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.101 H 314.8°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#320A41
RGBrgb(50, 10, 65)
HSLhsl(284, 73%, 15%)
HSVhsv(284, 85%, 25%)
CMYKcmyk(23.1%, 84.6%, 0%, 74.5%)
CIE-LABlab(11.11, 29.37, -25.45)
CIE-LCHlch(11.11, 38.86, 319.09°)
OKLaboklab(24.68% 0.0714 -0.0718)
OKLCHoklch(24.68% 0.101 314.8)
XYZxyz(2.3779, 1.2769, 5.1212)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320A41 #19410A
analogous
#160A41 #320A41 #410A35
triadic
#320A41 #41320A #0A4132
tetradic
#320A41 #41160A #19410A #0A3541
square
#320A41 #41160A #19410A #0A3541
split-complementary
#320A41 #35410A #0A4116
monochromatic
#14041B #14041B #320A41 #5B1276 #841AAB

Accessibility & contrast

On white

16.73
#320A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320A41
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320A41#FFFFFF#000000##FFFFFF
##320A411.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #320a41;
/* rgb */ color: rgb(50, 10, 65);
/* oklch */ color: oklch(24.7% 0.101 314.8);
Tailwind
colors: {
  custom: {
    50: '#6c4e76',
    500: '#320a41',
    950: '#000000',
  },
}
SCSS
$custom: #320a41;
$custom-light: #6c4e76;
$custom-dark: #000000;
JSON
{
  "hex": "#320a41",
  "rgb": {
    "r": 50,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 283.636,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24681,
    "c": 0.10123,
    "h": 314.8
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#320A41
secondary
#407E29
accent
#F0386A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #320A41

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

Preview Lab → · Contrast checker → · Palette generator →

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