#320F41#320F41

#320F41 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.094 H 313.9°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#320F41
RGBrgb(50, 15, 65)
HSLhsl(282, 63%, 16%)
HSVhsv(282, 77%, 25%)
CMYKcmyk(23.1%, 76.9%, 0%, 74.5%)
CIE-LABlab(11.97, 26.95, -24.07)
CIE-LCHlch(11.97, 36.14, 318.23°)
OKLaboklab(25.29% 0.0653 -0.0678)
OKLCHoklch(25.29% 0.094 313.9)
XYZxyz(2.4402, 1.4015, 5.1420)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320F41 #1E410F
analogous
#190F41 #320F41 #410F37
triadic
#320F41 #41320F #0F4132
tetradic
#320F41 #41190F #1E410F #0F3741
square
#320F41 #41190F #1E410F #0F3741
split-complementary
#320F41 #37410F #0F4119
monochromatic
#130619 #130619 #320F41 #581A73 #7E26A4

Accessibility & contrast

On white

16.40
#320F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#320F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320F41
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320F41#FFFFFF#000000##FFFFFF
##320F411.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#0C2040
Tritanopia (blue-blind)
#311926
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #320f41;
/* rgb */ color: rgb(50, 15, 65);
/* oklch */ color: oklch(25.3% 0.094 313.9);
Tailwind
colors: {
  custom: {
    50: '#6c5076',
    500: '#320f41',
    950: '#000000',
  },
}
SCSS
$custom: #320f41;
$custom-light: #6c5076;
$custom-dark: #000000;
JSON
{
  "hex": "#320f41",
  "rgb": {
    "r": 50,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 282,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2529,
    "c": 0.09412,
    "h": 313.9
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#320F41
secondary
#477B30
accent
#E64273
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #320F41

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

Preview Lab → · Contrast checker → · Palette generator →

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