#320834#320834

#320834 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.091 H 326.0°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#320834
RGBrgb(50, 8, 52)
HSLhsl(297, 73%, 12%)
HSVhsv(297, 85%, 20%)
CMYKcmyk(3.8%, 84.6%, 0%, 79.6%)
CIE-LABlab(9.80, 27.35, -18.22)
CIE-LCHlch(9.80, 32.86, 326.33°)
OKLaboklab(23.43% 0.0751 -0.0506)
OKLCHoklch(23.43% 0.091 326)
XYZxyz(2.0220, 1.0998, 3.3539)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320834 #0A3408
analogous
#1C0834 #320834 #340820
triadic
#320834 #343208 #083432
tetradic
#320834 #341C08 #0A3408 #082034
square
#320834 #341C08 #0A3408 #082034
split-complementary
#320834 #203408 #08341C
monochromatic
#1A041B #1A041B #320834 #651069 #98189E

Accessibility & contrast

On white

17.21
#320834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320834
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320834#FFFFFF#000000##FFFFFF
##3208341.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011835
Deuteranopia (green-blind)
#121D33
Tritanopia (blue-blind)
#340F1D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320834;
/* rgb */ color: rgb(50, 8, 52);
/* oklch */ color: oklch(23.4% 0.091 326.0);
Tailwind
colors: {
  custom: {
    50: '#6c4c6b',
    500: '#320834',
    950: '#000000',
  },
}
SCSS
$custom: #320834;
$custom-light: #6c4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#320834",
  "rgb": {
    "r": 50,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 297.273,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23427,
    "c": 0.09058,
    "h": 326
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#320834
secondary
#287325
accent
#F03840
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #320834

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

Preview Lab → · Contrast checker → · Palette generator →

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