#321830#321830

#321830 is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.6% C 0.057 H 329.9°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#321830
RGBrgb(50, 24, 48)
HSLhsl(305, 35%, 15%)
HSVhsv(305, 52%, 20%)
CMYKcmyk(0%, 52%, 4%, 80.4%)
CIE-LABlab(12.89, 17.43, -10.46)
CIE-LCHlch(12.89, 20.33, 329.05°)
OKLaboklab(25.61% 0.0491 -0.0284)
OKLCHoklch(25.61% 0.057 329.9)
XYZxyz(2.1755, 1.5449, 2.9793)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321830 #18321A
analogous
#271832 #321830 #321823
triadic
#321830 #303218 #183032
tetradic
#321830 #322718 #18321A #182332
square
#321830 #322718 #18321A #182332
split-complementary
#321830 #233218 #183227
monochromatic
#150A14 #150A14 #321830 #5B2C58 #85407F

Accessibility & contrast

On white

16.04
#321830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#321830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321830
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321830#FFFFFF#000000##FFFFFF
##3218301.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F31
Deuteranopia (green-blind)
#1E232F
Tritanopia (blue-blind)
#341A21
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #321830;
/* rgb */ color: rgb(50, 24, 48);
/* oklch */ color: oklch(25.6% 0.057 329.9);
Tailwind
colors: {
  custom: {
    50: '#6b5668',
    500: '#321830',
    950: '#000000',
  },
}
SCSS
$custom: #321830;
$custom-light: #6b5668;
$custom-dark: #000000;
JSON
{
  "hex": "#321830",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 304.615,
    "s": 35.135,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25614,
    "c": 0.05676,
    "h": 329.9
  },
  "luminance": 0.01545
}

Semantic roles & 50–950 ramp

primary
#321830
secondary
#3F6742
accent
#CB655D
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321830

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

Preview Lab → · Contrast checker → · Palette generator →

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