#321044#321044

#321044 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.096 H 311.5°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#321044
RGBrgb(50, 16, 68)
HSLhsl(279, 62%, 16%)
HSVhsv(279, 76%, 27%)
CMYKcmyk(26.5%, 76.5%, 0%, 73.3%)
CIE-LABlab(12.39, 27.19, -25.50)
CIE-LCHlch(12.39, 37.28, 316.83°)
OKLaboklab(25.67% 0.0637 -0.072)
OKLCHoklch(25.67% 0.096 311.5)
XYZxyz(2.5439, 1.4661, 5.6167)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321044 #224410
analogous
#181044 #321044 #44103C
triadic
#321044 #443210 #104432
tetradic
#321044 #441810 #224410 #103C44
square
#321044 #441810 #224410 #103C44
split-complementary
#321044 #3C4410 #104418
monochromatic
#120619 #120619 #321044 #561C76 #7B27A7

Accessibility & contrast

On white

16.24
#321044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#321044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321044
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321044#FFFFFF#000000##FFFFFF
##3210441.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#0A2143
Tritanopia (blue-blind)
#301B28
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #321044;
/* rgb */ color: rgb(50, 16, 68);
/* oklch */ color: oklch(25.7% 0.096 311.5);
Tailwind
colors: {
  custom: {
    50: '#6c5178',
    500: '#321044',
    950: '#000000',
  },
}
SCSS
$custom: #321044;
$custom-light: #6c5178;
$custom-dark: #000000;
JSON
{
  "hex": "#321044",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 279.231,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25668,
    "c": 0.09611,
    "h": 311.5
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#321044
secondary
#4C7E32
accent
#E5437B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #321044

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

Preview Lab → · Contrast checker → · Palette generator →

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