#321834#321834

#321834 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 25.8% C 0.062 H 324.5°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#321834
RGBrgb(50, 24, 52)
HSLhsl(296, 37%, 15%)
HSVhsv(296, 54%, 20%)
CMYKcmyk(3.8%, 53.8%, 0%, 79.6%)
CIE-LABlab(13.10, 18.37, -13.01)
CIE-LCHlch(13.10, 22.51, 324.69°)
OKLaboklab(25.84% 0.0501 -0.0357)
OKLCHoklch(25.84% 0.062 324.5)
XYZxyz(2.2618, 1.5794, 3.4339)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321834 #1A3418
analogous
#241834 #321834 #341828
triadic
#321834 #343218 #183432
tetradic
#321834 #342418 #1A3418 #182834
square
#321834 #342418 #1A3418 #182834
split-complementary
#321834 #283418 #183424
monochromatic
#140A15 #140A15 #321834 #5A2B5E #833F88

Accessibility & contrast

On white

15.96
#321834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#321834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321834
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321834#FFFFFF#000000##FFFFFF
##3218341.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152035
Deuteranopia (green-blind)
#1C2333
Tritanopia (blue-blind)
#331B23
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321834;
/* rgb */ color: rgb(50, 24, 52);
/* oklch */ color: oklch(25.8% 0.062 324.5);
Tailwind
colors: {
  custom: {
    50: '#6b566b',
    500: '#321834',
    950: '#000000',
  },
}
SCSS
$custom: #321834;
$custom-light: #6b566b;
$custom-dark: #000000;
JSON
{
  "hex": "#321834",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 295.714,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25844,
    "c": 0.06155,
    "h": 324.5
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#321834
secondary
#416A3E
accent
#CD5B63
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321834

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

Preview Lab → · Contrast checker → · Palette generator →

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