#321A43#321A43

#321A43 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.2% C 0.077 H 309.2°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#321A43
RGBrgb(50, 26, 67)
HSLhsl(275, 44%, 18%)
HSVhsv(275, 61%, 26%)
CMYKcmyk(25.4%, 61.2%, 0%, 73.7%)
CIE-LABlab(14.53, 20.94, -21.39)
CIE-LCHlch(14.53, 29.93, 314.40°)
OKLaboklab(27.2% 0.0489 -0.06)
OKLCHoklch(27.2% 0.077 309.2)
XYZxyz(2.6977, 1.8222, 5.5187)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A43 #2B431A
analogous
#1D1A43 #321A43 #431A3F
triadic
#321A43 #43321A #1A4332
tetradic
#321A43 #431D1A #2B431A #1A3F43
square
#321A43 #431D1A #2B431A #1A3F43
split-complementary
#321A43 #3F431A #1A431D
monochromatic
#100916 #110917 #321A43 #532B6F #743C9B

Accessibility & contrast

On white

15.39
#321A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#321A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A43
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A43#FFFFFF#000000##FFFFFF
##321A431.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2444
Deuteranopia (green-blind)
#162542
Tritanopia (blue-blind)
#30212B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321a43;
/* rgb */ color: rgb(50, 26, 67);
/* oklch */ color: oklch(27.2% 0.077 309.2);
Tailwind
colors: {
  custom: {
    50: '#6b5777',
    500: '#321a43',
    950: '#000000',
  },
}
SCSS
$custom: #321a43;
$custom-light: #6b5777;
$custom-dark: #000000;
JSON
{
  "hex": "#321a43",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 67
  },
  "hsl": {
    "h": 275.122,
    "s": 44.086,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27195,
    "c": 0.07742,
    "h": 309.2
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#321A43
secondary
#587940
accent
#D45489
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #321A43

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

Preview Lab → · Contrast checker → · Palette generator →

#321A43 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva