#320336#320336

#320336 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.101 H 324.6°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#320336
RGBrgb(50, 3, 54)
HSLhsl(295, 89%, 11%)
HSVhsv(295, 94%, 21%)
CMYKcmyk(7.4%, 94.4%, 0%, 78.8%)
CIE-LABlab(9.07, 30.29, -20.83)
CIE-LCHlch(9.07, 36.76, 325.48°)
OKLaboklab(22.96% 0.0819 -0.0582)
OKLCHoklch(22.96% 0.101 324.6)
XYZxyz(2.0138, 1.0097, 3.5781)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320336 #073603
analogous
#180336 #320336 #360320
triadic
#320336 #363203 #033632
tetradic
#320336 #361803 #073603 #032036
square
#320336 #361803 #073603 #032036
split-complementary
#320336 #203603 #033618
monochromatic
#1B021D #1B021D #320336 #680670 #9D09AA

Accessibility & contrast

On white

17.47
#320336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320336
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320336#FFFFFF#000000##FFFFFF
##3203361.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#0D1C35
Tritanopia (blue-blind)
#330C1D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320336;
/* rgb */ color: rgb(50, 3, 54);
/* oklch */ color: oklch(23.0% 0.101 324.6);
Tailwind
colors: {
  custom: {
    50: '#6c4a6d',
    500: '#320336',
    950: '#000000',
  },
}
SCSS
$custom: #320336;
$custom-light: #6c4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#320336",
  "rgb": {
    "r": 50,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 295.294,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2296,
    "c": 0.1005,
    "h": 324.6
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#320336
secondary
#23791C
accent
#FF293A
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #320336

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

Preview Lab → · Contrast checker → · Palette generator →

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