#320734#320734

#320734 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.092 H 326.1°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#320734
RGBrgb(50, 7, 52)
HSLhsl(297, 76%, 12%)
HSVhsv(297, 87%, 20%)
CMYKcmyk(3.8%, 86.5%, 0%, 79.6%)
CIE-LABlab(9.63, 27.84, -18.49)
CIE-LCHlch(9.63, 33.42, 326.41°)
OKLaboklab(23.31% 0.0765 -0.0514)
OKLCHoklch(23.31% 0.092 326.1)
XYZxyz(2.0112, 1.0781, 3.3503)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320734 #093407
analogous
#1C0734 #320734 #340720
triadic
#320734 #343207 #073432
tetradic
#320734 #341C07 #093407 #072034
square
#320734 #341C07 #093407 #072034
split-complementary
#320734 #203407 #07341C
monochromatic
#1A041B #1A041B #320734 #660E6A #9A16A0

Accessibility & contrast

On white

17.28
#320734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#320734 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320734
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320734#FFFFFF#000000##FFFFFF
##3207341.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#111D33
Tritanopia (blue-blind)
#340E1D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320734;
/* rgb */ color: rgb(50, 7, 52);
/* oklch */ color: oklch(23.3% 0.092 326.1);
Tailwind
colors: {
  custom: {
    50: '#6c4c6b',
    500: '#320734',
    950: '#000000',
  },
}
SCSS
$custom: #320734;
$custom-light: #6c4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#320734",
  "rgb": {
    "r": 50,
    "g": 7,
    "b": 52
  },
  "hsl": {
    "h": 297.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23305,
    "c": 0.09214,
    "h": 326.1
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#320734
secondary
#277423
accent
#F3353D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #320734

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

Preview Lab → · Contrast checker → · Palette generator →

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