#321741#321741

#321741 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.5% C 0.080 H 311.8°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#321741
RGBrgb(50, 23, 65)
HSLhsl(279, 48%, 17%)
HSVhsv(279, 65%, 25%)
CMYKcmyk(23.1%, 64.6%, 0%, 74.5%)
CIE-LABlab(13.67, 22.32, -21.35)
CIE-LCHlch(13.67, 30.89, 316.26°)
OKLaboklab(26.52% 0.0536 -0.0599)
OKLCHoklch(26.52% 0.08 311.8)
XYZxyz(2.5758, 1.6726, 5.1872)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321741 #264117
analogous
#1D1741 #321741 #41173B
triadic
#321741 #413217 #174132
tetradic
#321741 #411D17 #264117 #173B41
square
#321741 #411D17 #264117 #173B41
split-complementary
#321741 #3B4117 #17411D
monochromatic
#110817 #110817 #321741 #55276E #78379B

Accessibility & contrast

On white

15.74
#321741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#321741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321741
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321741#FFFFFF#000000##FFFFFF
##3217411.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2242
Deuteranopia (green-blind)
#142340
Tritanopia (blue-blind)
#301E29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321741;
/* rgb */ color: rgb(50, 23, 65);
/* oklch */ color: oklch(26.5% 0.080 311.8);
Tailwind
colors: {
  custom: {
    50: '#6b5576',
    500: '#321741',
    950: '#000000',
  },
}
SCSS
$custom: #321741;
$custom-light: #6b5576;
$custom-dark: #000000;
JSON
{
  "hex": "#321741",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 278.571,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2652,
    "c": 0.08037,
    "h": 311.8
  },
  "luminance": 0.01673
}

Semantic roles & 50–950 ramp

primary
#321741
secondary
#51783C
accent
#D75081
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #321741

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

Preview Lab → · Contrast checker → · Palette generator →

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