#321B44#321B44

#321B44 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.5% C 0.077 H 308.0°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#321B44
RGBrgb(50, 27, 68)
HSLhsl(274, 43%, 19%)
HSVhsv(274, 60%, 27%)
CMYKcmyk(26.5%, 60.3%, 0%, 73.3%)
CIE-LABlab(14.84, 20.57, -21.58)
CIE-LCHlch(14.84, 29.81, 313.63°)
OKLaboklab(27.45% 0.0474 -0.0606)
OKLCHoklch(27.45% 0.077 308)
XYZxyz(2.7505, 1.8794, 5.6856)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321B44 #2D441B
analogous
#1D1B44 #321B44 #441B41
triadic
#321B44 #44321B #1B4432
tetradic
#321B44 #441D1B #2D441B #1B4144
square
#321B44 #441D1B #2D441B #1B4144
split-complementary
#321B44 #41441B #1B441D
monochromatic
#100916 #120A18 #321B44 #522C70 #723E9C

Accessibility & contrast

On white

15.26
#321B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#321B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321B44
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321B44#FFFFFF#000000##FFFFFF
##321B441.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321b44;
/* rgb */ color: rgb(50, 27, 68);
/* oklch */ color: oklch(27.5% 0.077 308.0);
Tailwind
colors: {
  custom: {
    50: '#6b5878',
    500: '#321b44',
    950: '#000000',
  },
}
SCSS
$custom: #321b44;
$custom-light: #6b5878;
$custom-dark: #000000;
JSON
{
  "hex": "#321b44",
  "rgb": {
    "r": 50,
    "g": 27,
    "b": 68
  },
  "hsl": {
    "h": 273.659,
    "s": 43.158,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2745,
    "c": 0.0769,
    "h": 308
  },
  "luminance": 0.01879
}

Semantic roles & 50–950 ramp

primary
#321B44
secondary
#5A7A41
accent
#D3558C
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321B44

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

Preview Lab → · Contrast checker → · Palette generator →

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