#321A44#321A44

#321A44 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.079 H 308.4°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#321A44
RGBrgb(50, 26, 68)
HSLhsl(274, 45%, 18%)
HSVhsv(274, 62%, 27%)
CMYKcmyk(26.5%, 61.8%, 0%, 73.3%)
CIE-LABlab(14.59, 21.22, -21.98)
CIE-LCHlch(14.59, 30.55, 314.00°)
OKLaboklab(27.27% 0.049 -0.0617)
OKLCHoklch(27.27% 0.079 308.4)
XYZxyz(2.7280, 1.8343, 5.6781)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A44 #2C441A
analogous
#1D1A44 #321A44 #441A41
triadic
#321A44 #44321A #1A4432
tetradic
#321A44 #441D1A #2C441A #1A4144
square
#321A44 #441D1A #2C441A #1A4144
split-complementary
#321A44 #41441A #1A441D
monochromatic
#100816 #110918 #321A44 #532B70 #733C9D

Accessibility & contrast

On white

15.36
#321A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#321A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A44
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A44#FFFFFF#000000##FFFFFF
##321A441.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2445
Deuteranopia (green-blind)
#152543
Tritanopia (blue-blind)
#2F222C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321a44;
/* rgb */ color: rgb(50, 26, 68);
/* oklch */ color: oklch(27.3% 0.079 308.4);
Tailwind
colors: {
  custom: {
    50: '#6b5778',
    500: '#321a44',
    950: '#000000',
  },
}
SCSS
$custom: #321a44;
$custom-light: #6b5778;
$custom-dark: #000000;
JSON
{
  "hex": "#321a44",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 274.286,
    "s": 44.681,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27267,
    "c": 0.0788,
    "h": 308.4
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#321A44
secondary
#597A40
accent
#D4538B
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321A44

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

Preview Lab → · Contrast checker → · Palette generator →

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