#321744#321744

#321744 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.7% C 0.084 H 309.5°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#321744
RGBrgb(50, 23, 68)
HSLhsl(276, 49%, 18%)
HSVhsv(276, 66%, 27%)
CMYKcmyk(26.5%, 66.2%, 0%, 73.3%)
CIE-LABlab(13.88, 23.13, -23.12)
CIE-LCHlch(13.88, 32.70, 315.01°)
OKLaboklab(26.74% 0.0537 -0.0651)
OKLCHoklch(26.74% 0.084 309.5)
XYZxyz(2.6650, 1.7083, 5.6571)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321744 #294417
analogous
#1B1744 #321744 #44173F
triadic
#321744 #443217 #174432
tetradic
#321744 #441B17 #294417 #173F44
square
#321744 #441B17 #294417 #173F44
split-complementary
#321744 #3F4417 #17441B
monochromatic
#110817 #110817 #321744 #542672 #75369F

Accessibility & contrast

On white

15.65
#321744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#321744 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321744
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321744#FFFFFF#000000##FFFFFF
##3217441.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072245
Deuteranopia (green-blind)
#122443
Tritanopia (blue-blind)
#301F2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321744;
/* rgb */ color: rgb(50, 23, 68);
/* oklch */ color: oklch(26.7% 0.084 309.5);
Tailwind
colors: {
  custom: {
    50: '#6c5578',
    500: '#321744',
    950: '#000000',
  },
}
SCSS
$custom: #321744;
$custom-light: #6c5578;
$custom-dark: #000000;
JSON
{
  "hex": "#321744",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 68
  },
  "hsl": {
    "h": 276,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26741,
    "c": 0.08435,
    "h": 309.5
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#321744
secondary
#557B3C
accent
#D94F86
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321744

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

Preview Lab → · Contrast checker → · Palette generator →

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