#320F2F#320F2F

#320F2F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.074 H 331.1°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#320F2F
RGBrgb(50, 15, 47)
HSLhsl(305, 54%, 13%)
HSVhsv(305, 70%, 20%)
CMYKcmyk(0%, 70%, 6%, 80.4%)
CIE-LABlab(10.74, 22.76, -13.07)
CIE-LCHlch(10.74, 26.24, 330.14°)
OKLaboklab(24.01% 0.0647 -0.0358)
OKLCHoklch(24.01% 0.074 331.1)
XYZxyz(1.9993, 1.2251, 2.8199)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320F2F #0F3212
analogous
#230F32 #320F2F #320F1D
triadic
#320F2F #2F320F #0F2F32
tetradic
#320F2F #32230F #0F3212 #0F1D32
square
#320F2F #32230F #0F3212 #0F1D32
split-complementary
#320F2F #1D320F #0F3223
monochromatic
#180716 #180716 #320F2F #611D5B #902B88

Accessibility & contrast

On white

16.87
#320F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#320F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320F2F
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320F2F#FFFFFF#000000##FFFFFF
##320F2F1.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A30
Deuteranopia (green-blind)
#181F2E
Tritanopia (blue-blind)
#34121D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #320f2f;
/* rgb */ color: rgb(50, 15, 47);
/* oklch */ color: oklch(24.0% 0.074 331.1);
Tailwind
colors: {
  custom: {
    50: '#6b5067',
    500: '#320f2f',
    950: '#000000',
  },
}
SCSS
$custom: #320f2f;
$custom-light: #6b5067;
$custom-dark: #000000;
JSON
{
  "hex": "#320f2f",
  "rgb": {
    "r": 50,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 305.143,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24006,
    "c": 0.07398,
    "h": 331.1
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#320F2F
secondary
#316C36
accent
#DD574B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #320F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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