#321B43#321B43

#321B43 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.4% C 0.075 H 308.8°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#321B43
RGBrgb(50, 27, 67)
HSLhsl(275, 43%, 18%)
HSVhsv(275, 60%, 26%)
CMYKcmyk(25.4%, 59.7%, 0%, 73.7%)
CIE-LABlab(14.77, 20.29, -20.99)
CIE-LCHlch(14.77, 29.19, 314.03°)
OKLaboklab(27.38% 0.0473 -0.0588)
OKLCHoklch(27.38% 0.076 308.8)
XYZxyz(2.7202, 1.8673, 5.5262)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321B43 #2C431B
analogous
#1E1B43 #321B43 #431B40
triadic
#321B43 #43321B #1B4332
tetradic
#321B43 #431E1B #2C431B #1B4043
square
#321B43 #431E1B #2C431B #1B4043
split-complementary
#321B43 #40431B #1B431E
monochromatic
#100916 #110917 #321B43 #532D6F #733E9A

Accessibility & contrast

On white

15.29
#321B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321B43
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321B43#FFFFFF#000000##FFFFFF
##321B431.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2444
Deuteranopia (green-blind)
#172642
Tritanopia (blue-blind)
#30222C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321b43;
/* rgb */ color: rgb(50, 27, 67);
/* oklch */ color: oklch(27.4% 0.075 308.8);
Tailwind
colors: {
  custom: {
    50: '#6b5877',
    500: '#321b43',
    950: '#000000',
  },
}
SCSS
$custom: #321b43;
$custom-light: #6b5877;
$custom-dark: #000000;
JSON
{
  "hex": "#321b43",
  "rgb": {
    "r": 50,
    "g": 27,
    "b": 67
  },
  "hsl": {
    "h": 274.5,
    "s": 42.553,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27379,
    "c": 0.0755,
    "h": 308.8
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#321B43
secondary
#597941
accent
#D2558B
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #321B43

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

Preview Lab → · Contrast checker → · Palette generator →

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