#320B3F#320B3F

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

Color values

HEX#320B3F
RGBrgb(50, 11, 63)
HSLhsl(285, 70%, 15%)
HSVhsv(285, 83%, 25%)
CMYKcmyk(20.6%, 82.5%, 0%, 75.3%)
CIE-LABlab(11.11, 28.44, -24.03)
CIE-LCHlch(11.11, 37.24, 319.80°)
OKLaboklab(24.63% 0.0705 -0.0676)
OKLCHoklch(24.63% 0.098 316.2)
XYZxyz(2.3321, 1.2764, 4.8252)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320B3F #183F0B
analogous
#180B3F #320B3F #3F0B32
triadic
#320B3F #3F320B #0B3F32
tetradic
#320B3F #3F180B #183F0B #0B323F
square
#320B3F #3F180B #183F0B #0B323F
split-complementary
#320B3F #323F0B #0B3F18
monochromatic
#15051A #15051A #320B3F #5B1473 #851DA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##320B3F#FFFFFF#000000##FFFFFF
##320B3F1.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)
#001B40
Deuteranopia (green-blind)
#0B1F3E
Tritanopia (blue-blind)
#311624
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #320b3f;
/* rgb */ color: rgb(50, 11, 63);
/* oklch */ color: oklch(24.6% 0.098 316.2);
Tailwind
colors: {
  custom: {
    50: '#6c4e74',
    500: '#320b3f',
    950: '#000000',
  },
}
SCSS
$custom: #320b3f;
$custom-light: #6c4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#320b3f",
  "rgb": {
    "r": 50,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 285,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24627,
    "c": 0.09773,
    "h": 316.2
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#320B3F
secondary
#3F7C2A
accent
#ED3B67
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #320B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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