#320334#320334

#320334 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.099 H 326.4°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#320334
RGBrgb(50, 3, 52)
HSLhsl(298, 89%, 11%)
HSVhsv(298, 94%, 20%)
CMYKcmyk(3.8%, 94.2%, 0%, 79.6%)
CIE-LABlab(8.92, 29.89, -19.62)
CIE-LCHlch(8.92, 35.75, 326.72°)
OKLaboklab(22.8% 0.0822 -0.0546)
OKLCHoklch(22.8% 0.099 326.4)
XYZxyz(1.9678, 0.9913, 3.3358)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320334 #053403
analogous
#190334 #320334 #34031D
triadic
#320334 #343203 #033432
tetradic
#320334 #341903 #053403 #031D34
square
#320334 #341903 #053403 #031D34
split-complementary
#320334 #1D3403 #033419
monochromatic
#1C021D #1C021D #320334 #6A066E #A10AA8

Accessibility & contrast

On white

17.53
#320334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320334
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320334#FFFFFF#000000##FFFFFF
##3203341.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#0F1B33
Tritanopia (blue-blind)
#340B1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #320334;
/* rgb */ color: rgb(50, 3, 52);
/* oklch */ color: oklch(22.8% 0.099 326.4);
Tailwind
colors: {
  custom: {
    50: '#6c4a6c',
    500: '#320334',
    950: '#000000',
  },
}
SCSS
$custom: #320334;
$custom-light: #6c4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#320334",
  "rgb": {
    "r": 50,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 297.551,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22803,
    "c": 0.09869,
    "h": 326.4
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#320334
secondary
#1F771C
accent
#FF2932
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #320334

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

Preview Lab → · Contrast checker → · Palette generator →

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