#321034#321034

#321034 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.077 H 325.4°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#321034
RGBrgb(50, 16, 52)
HSLhsl(297, 53%, 13%)
HSVhsv(297, 69%, 20%)
CMYKcmyk(3.8%, 69.2%, 0%, 79.6%)
CIE-LABlab(11.25, 23.29, -15.91)
CIE-LCHlch(11.25, 28.21, 325.66°)
OKLaboklab(24.48% 0.0638 -0.044)
OKLCHoklch(24.48% 0.078 325.4)
XYZxyz(2.1205, 1.2967, 3.3868)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321034 #123410
analogous
#201034 #321034 #341024
triadic
#321034 #343210 #103432
tetradic
#321034 #342010 #123410 #102434
square
#321034 #342010 #123410 #102434
split-complementary
#321034 #243410 #103420
monochromatic
#170717 #170717 #321034 #5F1E63 #8C2D92

Accessibility & contrast

On white

16.67
#321034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#321034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321034
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321034#FFFFFF#000000##FFFFFF
##3210341.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1B35
Deuteranopia (green-blind)
#171F33
Tritanopia (blue-blind)
#331520
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #321034;
/* rgb */ color: rgb(50, 16, 52);
/* oklch */ color: oklch(24.5% 0.077 325.4);
Tailwind
colors: {
  custom: {
    50: '#6b506b',
    500: '#321034',
    950: '#000000',
  },
}
SCSS
$custom: #321034;
$custom-light: #6b506b;
$custom-dark: #000000;
JSON
{
  "hex": "#321034",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 296.667,
    "s": 52.941,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24479,
    "c": 0.0775,
    "h": 325.4
  },
  "luminance": 0.01297
}

Semantic roles & 50–950 ramp

primary
#321034
secondary
#366E32
accent
#DC4B53
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #321034

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

Preview Lab → · Contrast checker → · Palette generator →

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