#321749#321749

#321749 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.1% C 0.091 H 306.1°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#321749
RGBrgb(50, 23, 73)
HSLhsl(272, 52%, 19%)
HSVhsv(272, 68%, 29%)
CMYKcmyk(31.5%, 68.5%, 0%, 71.4%)
CIE-LABlab(14.24, 24.51, -26.00)
CIE-LCHlch(14.24, 35.74, 313.30°)
OKLaboklab(27.13% 0.0536 -0.0735)
OKLCHoklch(27.13% 0.091 306.1)
XYZxyz(2.8241, 1.7720, 6.4953)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321749 #2E4917
analogous
#191749 #321749 #491747
triadic
#321749 #493217 #174932
tetradic
#321749 #491917 #2E4917 #174749
square
#321749 #491917 #2E4917 #174749
split-complementary
#321749 #474917 #174919
monochromatic
#100717 #12081A #321749 #522678 #7234A6

Accessibility & contrast

On white

15.51
#321749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#321749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321749
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321749#FFFFFF#000000##FFFFFF
##3217491.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01234B
Deuteranopia (green-blind)
#0D2448
Tritanopia (blue-blind)
#2E212D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321749;
/* rgb */ color: rgb(50, 23, 73);
/* oklch */ color: oklch(27.1% 0.091 306.1);
Tailwind
colors: {
  custom: {
    50: '#6c567c',
    500: '#321749',
    950: '#000000',
  },
}
SCSS
$custom: #321749;
$custom-light: #6c567c;
$custom-dark: #000000;
JSON
{
  "hex": "#321749",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 272.4,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27126,
    "c": 0.09099,
    "h": 306.1
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#321749
secondary
#5B803C
accent
#DC4C8E
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #321749

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

Preview Lab → · Contrast checker → · Palette generator →

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