#320634#320634

#320634 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.094 H 326.2°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#320634
RGBrgb(50, 6, 52)
HSLhsl(297, 79%, 11%)
HSVhsv(297, 88%, 20%)
CMYKcmyk(3.8%, 88.5%, 0%, 79.6%)
CIE-LABlab(9.45, 28.34, -18.77)
CIE-LCHlch(9.45, 33.99, 326.49°)
OKLaboklab(23.18% 0.0779 -0.0522)
OKLCHoklch(23.18% 0.094 326.2)
XYZxyz(2.0003, 1.0564, 3.3467)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320634 #083406
analogous
#1B0634 #320634 #34061F
triadic
#320634 #343206 #063432
tetradic
#320634 #341B06 #083406 #061F34
square
#320634 #341B06 #083406 #061F34
split-complementary
#320634 #1F3406 #06341B
monochromatic
#1A031B #1A031B #320634 #670C6B #9C13A2

Accessibility & contrast

On white

17.34
#320634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#320634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320634
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320634#FFFFFF#000000##FFFFFF
##3206341.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#111C33
Tritanopia (blue-blind)
#340E1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320634;
/* rgb */ color: rgb(50, 6, 52);
/* oklch */ color: oklch(23.2% 0.094 326.2);
Tailwind
colors: {
  custom: {
    50: '#6c4b6b',
    500: '#320634',
    950: '#000000',
  },
}
SCSS
$custom: #320634;
$custom-light: #6c4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#320634",
  "rgb": {
    "r": 50,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 297.391,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23182,
    "c": 0.09373,
    "h": 326.2
  },
  "luminance": 0.01056
}

Semantic roles & 50–950 ramp

primary
#320634
secondary
#257421
accent
#F6323B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #320634

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

Preview Lab → · Contrast checker → · Palette generator →

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