#321445#321445

#321445 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.091 H 309.7°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#321445
RGBrgb(50, 20, 69)
HSLhsl(277, 55%, 17%)
HSVhsv(277, 71%, 27%)
CMYKcmyk(27.5%, 71%, 0%, 72.9%)
CIE-LABlab(13.28, 25.21, -24.77)
CIE-LCHlch(13.28, 35.34, 315.50°)
OKLaboklab(26.33% 0.0581 -0.0699)
OKLCHoklch(26.33% 0.091 309.7)
XYZxyz(2.6395, 1.6081, 5.8004)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321445 #274514
analogous
#1A1445 #321445 #45143F
triadic
#321445 #453214 #144532
tetradic
#321445 #451A14 #274514 #143F45
square
#321445 #451A14 #274514 #143F45
split-complementary
#321445 #3F4514 #14451A
monochromatic
#110718 #110718 #321445 #542274 #7730A4

Accessibility & contrast

On white

15.89
#321445 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#321445 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321445
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321445#FFFFFF#000000##FFFFFF
##3214451.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002147
Deuteranopia (green-blind)
#0D2344
Tritanopia (blue-blind)
#2F1E2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321445;
/* rgb */ color: rgb(50, 20, 69);
/* oklch */ color: oklch(26.3% 0.091 309.7);
Tailwind
colors: {
  custom: {
    50: '#6c5479',
    500: '#321445',
    950: '#000000',
  },
}
SCSS
$custom: #321445;
$custom-light: #6c5479;
$custom-dark: #000000;
JSON
{
  "hex": "#321445",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 69
  },
  "hsl": {
    "h": 276.735,
    "s": 55.056,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26332,
    "c": 0.09088,
    "h": 309.7
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#321445
secondary
#537D38
accent
#DE4983
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #321445

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

Preview Lab → · Contrast checker → · Palette generator →

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