#320F39#320F39

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

Color values

HEX#320F39
RGBrgb(50, 15, 57)
HSLhsl(290, 58%, 14%)
HSVhsv(290, 74%, 22%)
CMYKcmyk(12.3%, 73.7%, 0%, 77.6%)
CIE-LABlab(11.38, 25.00, -19.31)
CIE-LCHlch(11.38, 31.59, 322.31°)
OKLaboklab(24.68% 0.0656 -0.0539)
OKLCHoklch(24.68% 0.085 320.6)
XYZxyz(2.2246, 1.3153, 4.0068)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320F39 #16390F
analogous
#1D0F39 #320F39 #390F2B
triadic
#320F39 #39320F #0F3932
tetradic
#320F39 #391D0F #16390F #0F2B39
square
#320F39 #391D0F #16390F #0F2B39
split-complementary
#320F39 #2B390F #0F391D
monochromatic
#150618 #150618 #320F39 #5D1C69 #87299A

Accessibility & contrast

On white

16.63
#320F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320F39
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320F39#FFFFFF#000000##FFFFFF
##320F391.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3A
Deuteranopia (green-blind)
#132038
Tritanopia (blue-blind)
#321622
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #320f39;
/* rgb */ color: rgb(50, 15, 57);
/* oklch */ color: oklch(24.7% 0.085 320.6);
Tailwind
colors: {
  custom: {
    50: '#6c506f',
    500: '#320f39',
    950: '#000000',
  },
}
SCSS
$custom: #320f39;
$custom-light: #6c506f;
$custom-dark: #000000;
JSON
{
  "hex": "#320f39",
  "rgb": {
    "r": 50,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 290,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2468,
    "c": 0.08489,
    "h": 320.6
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#320F39
secondary
#3C7330
accent
#E24660
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #320F39

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

Preview Lab → · Contrast checker → · Palette generator →

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