#320641#320641

#320641 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.107 H 315.4°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#320641
RGBrgb(50, 6, 65)
HSLhsl(285, 83%, 14%)
HSVhsv(285, 91%, 25%)
CMYKcmyk(23.1%, 90.8%, 0%, 74.5%)
CIE-LABlab(10.48, 31.19, -26.46)
CIE-LCHlch(10.48, 40.90, 319.68°)
OKLaboklab(24.24% 0.0759 -0.0747)
OKLCHoklch(24.24% 0.107 315.4)
XYZxyz(2.3345, 1.1901, 5.1067)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320641 #154106
analogous
#150641 #320641 #410633
triadic
#320641 #413206 #064132
tetradic
#320641 #411506 #154106 #063341
square
#320641 #411506 #154106 #063341
split-complementary
#320641 #334106 #064115
monochromatic
#16031C #16031C #320641 #5D0B79 #8810B1

Accessibility & contrast

On white

16.96
#320641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#320641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320641
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320641#FFFFFF#000000##FFFFFF
##3206411.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#041E40
Tritanopia (blue-blind)
#311424
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #320641;
/* rgb */ color: rgb(50, 6, 65);
/* oklch */ color: oklch(24.2% 0.107 315.4);
Tailwind
colors: {
  custom: {
    50: '#6d4c76',
    500: '#320641',
    950: '#000000',
  },
}
SCSS
$custom: #320641;
$custom-light: #6d4c76;
$custom-dark: #000000;
JSON
{
  "hex": "#320641",
  "rgb": {
    "r": 50,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 284.746,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24238,
    "c": 0.10654,
    "h": 315.4
  },
  "luminance": 0.0119
}

Semantic roles & 50–950 ramp

primary
#320641
secondary
#3A8122
accent
#F92E62
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #320641

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

Preview Lab → · Contrast checker → · Palette generator →

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