#321541#321541

#321541 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.084 H 312.4°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#321541
RGBrgb(50, 21, 65)
HSLhsl(280, 51%, 17%)
HSVhsv(280, 68%, 25%)
CMYKcmyk(23.1%, 67.7%, 0%, 74.5%)
CIE-LABlab(13.21, 23.55, -22.09)
CIE-LCHlch(13.21, 32.28, 316.83°)
OKLaboklab(26.19% 0.0567 -0.062)
OKLCHoklch(26.19% 0.084 312.4)
XYZxyz(2.5375, 1.5962, 5.1744)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321541 #244115
analogous
#1C1541 #321541 #41153A
triadic
#321541 #413215 #154132
tetradic
#321541 #411C15 #244115 #153A41
square
#321541 #411C15 #244115 #153A41
split-complementary
#321541 #3A4115 #15411C
monochromatic
#120717 #120717 #321541 #56246F #79339E

Accessibility & contrast

On white

15.92
#321541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321541
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321541#FFFFFF#000000##FFFFFF
##3215411.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062042
Deuteranopia (green-blind)
#122340
Tritanopia (blue-blind)
#301D28
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321541;
/* rgb */ color: rgb(50, 21, 65);
/* oklch */ color: oklch(26.2% 0.084 312.4);
Tailwind
colors: {
  custom: {
    50: '#6c5476',
    500: '#321541',
    950: '#000000',
  },
}
SCSS
$custom: #321541;
$custom-light: #6c5476;
$custom-dark: #000000;
JSON
{
  "hex": "#321541",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 279.545,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26185,
    "c": 0.08404,
    "h": 312.4
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#321541
secondary
#4F7939
accent
#DB4D7D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #321541

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

Preview Lab → · Contrast checker → · Palette generator →

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