#321849#321849

#321849 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.089 H 305.8°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#321849
RGBrgb(50, 24, 73)
HSLhsl(272, 51%, 19%)
HSVhsv(272, 67%, 29%)
CMYKcmyk(31.5%, 67.1%, 0%, 71.4%)
CIE-LABlab(14.47, 23.90, -25.64)
CIE-LCHlch(14.47, 35.05, 312.99°)
OKLaboklab(27.29% 0.0522 -0.0724)
OKLCHoklch(27.29% 0.089 305.8)
XYZxyz(2.8444, 1.8124, 6.5020)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321849 #2F4918
analogous
#1A1849 #321849 #491848
triadic
#321849 #493218 #184932
tetradic
#321849 #491A18 #2F4918 #184849
square
#321849 #491A18 #2F4918 #184849
split-complementary
#321849 #484918 #18491A
monochromatic
#100817 #12091B #321849 #522777 #7136A5

Accessibility & contrast

On white

15.41
#321849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#321849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321849
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321849#FFFFFF#000000##FFFFFF
##3218491.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03244B
Deuteranopia (green-blind)
#0E2548
Tritanopia (blue-blind)
#2E222D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321849;
/* rgb */ color: rgb(50, 24, 73);
/* oklch */ color: oklch(27.3% 0.089 305.8);
Tailwind
colors: {
  custom: {
    50: '#6c567c',
    500: '#321849',
    950: '#000000',
  },
}
SCSS
$custom: #321849;
$custom-light: #6c567c;
$custom-dark: #000000;
JSON
{
  "hex": "#321849",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 271.837,
    "s": 50.515,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27292,
    "c": 0.08926,
    "h": 305.8
  },
  "luminance": 0.01812
}

Semantic roles & 50–950 ramp

primary
#321849
secondary
#5C803D
accent
#DA4E90
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #321849

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

Preview Lab → · Contrast checker → · Palette generator →

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