#320239#320239

#320239 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.105 H 322.2°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#320239
RGBrgb(50, 2, 57)
HSLhsl(292, 93%, 12%)
HSVhsv(292, 96%, 22%)
CMYKcmyk(12.3%, 96.5%, 0%, 77.6%)
CIE-LABlab(9.13, 31.42, -22.91)
CIE-LCHlch(9.13, 38.89, 323.90°)
OKLaboklab(23.08% 0.0828 -0.0643)
OKLCHoklch(23.08% 0.105 322.2)
XYZxyz(2.0755, 1.0171, 3.9571)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320239 #093902
analogous
#170239 #320239 #390225
triadic
#320239 #393202 #023932
tetradic
#320239 #391702 #093902 #022539
square
#320239 #391702 #093902 #022539
split-complementary
#320239 #253902 #023917
monochromatic
#1A011E #1A011E #320239 #660474 #9A06AF

Accessibility & contrast

On white

17.45
#320239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#320239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320239
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320239#FFFFFF#000000##FFFFFF
##3202391.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#0A1B38
Tritanopia (blue-blind)
#330D1E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320239;
/* rgb */ color: rgb(50, 2, 57);
/* oklch */ color: oklch(23.1% 0.105 322.2);
Tailwind
colors: {
  custom: {
    50: '#6d4970',
    500: '#320239',
    950: '#000000',
  },
}
SCSS
$custom: #320239;
$custom-light: #6d4970;
$custom-dark: #000000;
JSON
{
  "hex": "#320239",
  "rgb": {
    "r": 50,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 292.364,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23079,
    "c": 0.10485,
    "h": 322.2
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#320239
secondary
#277D1A
accent
#FF2944
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #320239

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

Preview Lab → · Contrast checker → · Palette generator →

#320239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva