#320640#320640

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

Color values

HEX#320640
RGBrgb(50, 6, 64)
HSLhsl(286, 83%, 14%)
HSVhsv(286, 91%, 25%)
CMYKcmyk(21.9%, 90.6%, 0%, 74.9%)
CIE-LABlab(10.40, 30.96, -25.89)
CIE-LCHlch(10.40, 40.36, 320.09°)
OKLaboklab(24.15% 0.0762 -0.0731)
OKLCHoklch(24.15% 0.106 316.2)
XYZxyz(2.3058, 1.1786, 4.9555)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320640 #144006
analogous
#150640 #320640 #400631
triadic
#320640 #403206 #064032
tetradic
#320640 #401506 #144006 #063140
square
#320640 #401506 #144006 #063140
split-complementary
#320640 #314006 #064015
monochromatic
#16031C #16031C #320640 #5E0B78 #8910B0

Accessibility & contrast

On white

16.99
#320640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320640
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320640#FFFFFF#000000##FFFFFF
##3206401.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A42
Deuteranopia (green-blind)
#051D3F
Tritanopia (blue-blind)
#311423
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #320640;
/* rgb */ color: rgb(50, 6, 64);
/* oklch */ color: oklch(24.2% 0.106 316.2);
Tailwind
colors: {
  custom: {
    50: '#6d4c75',
    500: '#320640',
    950: '#000000',
  },
}
SCSS
$custom: #320640;
$custom-light: #6d4c75;
$custom-dark: #000000;
JSON
{
  "hex": "#320640",
  "rgb": {
    "r": 50,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 285.517,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24151,
    "c": 0.10553,
    "h": 316.2
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#320640
secondary
#398022
accent
#F92F60
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #320640

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

Preview Lab → · Contrast checker → · Palette generator →

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