#320431#320431

#320431 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.094 H 329.1°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#320431
RGBrgb(50, 4, 49)
HSLhsl(301, 85%, 11%)
HSVhsv(301, 92%, 20%)
CMYKcmyk(0%, 92%, 2%, 80.4%)
CIE-LABlab(8.88, 28.77, -17.47)
CIE-LCHlch(8.88, 33.66, 328.72°)
OKLaboklab(22.71% 0.0809 -0.0484)
OKLCHoklch(22.71% 0.094 329.1)
XYZxyz(1.9132, 0.9868, 2.9948)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320431 #043205
analogous
#1C0432 #320431 #32041A
triadic
#320431 #313204 #043132
tetradic
#320431 #321C04 #043205 #041A32
square
#320431 #321C04 #043205 #041A32
split-complementary
#320431 #1A3204 #04321C
monochromatic
#1C021C #1C021C #320431 #6B0969 #A30DA0

Accessibility & contrast

On white

17.54
#320431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320431
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320431#FFFFFF#000000##FFFFFF
##3204311.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#111B30
Tritanopia (blue-blind)
#340A1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #320431;
/* rgb */ color: rgb(50, 4, 49);
/* oklch */ color: oklch(22.7% 0.094 329.1);
Tailwind
colors: {
  custom: {
    50: '#6c4a69',
    500: '#320431',
    950: '#000000',
  },
}
SCSS
$custom: #320431;
$custom-light: #6c4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#320431",
  "rgb": {
    "r": 50,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 301.304,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22706,
    "c": 0.09429,
    "h": 329.1
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#320431
secondary
#1D741F
accent
#FB312C
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #320431

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

Preview Lab → · Contrast checker → · Palette generator →

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