#320C3F#320C3F

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

Color values

HEX#320C3F
RGBrgb(50, 12, 63)
HSLhsl(285, 68%, 15%)
HSVhsv(285, 81%, 25%)
CMYKcmyk(20.6%, 81%, 0%, 75.3%)
CIE-LABlab(11.28, 27.97, -23.77)
CIE-LCHlch(11.28, 36.70, 319.64°)
OKLaboklab(24.75% 0.0693 -0.0669)
OKLCHoklch(24.75% 0.096 316)
XYZxyz(2.3439, 1.3000, 4.8291)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320C3F #193F0C
analogous
#190C3F #320C3F #3F0C33
triadic
#320C3F #3F320C #0C3F32
tetradic
#320C3F #3F190C #193F0C #0C333F
square
#320C3F #3F190C #193F0C #0C333F
split-complementary
#320C3F #333F0C #0C3F19
monochromatic
#14051A #14051A #320C3F #5B1672 #8420A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##320C3F#FFFFFF#000000##FFFFFF
##320C3F1.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)
#001C40
Deuteranopia (green-blind)
#0C1F3E
Tritanopia (blue-blind)
#311624
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #320c3f;
/* rgb */ color: rgb(50, 12, 63);
/* oklch */ color: oklch(24.7% 0.096 316.0);
Tailwind
colors: {
  custom: {
    50: '#6c4f74',
    500: '#320c3f',
    950: '#000000',
  },
}
SCSS
$custom: #320c3f;
$custom-light: #6c4f74;
$custom-dark: #000000;
JSON
{
  "hex": "#320c3f",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 284.706,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24746,
    "c": 0.09632,
    "h": 316
  },
  "luminance": 0.013
}

Semantic roles & 50–950 ramp

primary
#320C3F
secondary
#407B2C
accent
#EB3D69
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #320C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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