#351641#351641

#351641 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.084 H 315.5°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#351641
RGBrgb(53, 22, 65)
HSLhsl(283, 49%, 17%)
HSVhsv(283, 66%, 25%)
CMYKcmyk(18.5%, 66.2%, 0%, 74.5%)
CIE-LABlab(13.90, 23.86, -20.96)
CIE-LCHlch(13.90, 31.75, 318.70°)
OKLaboklab(26.79% 0.0597 -0.0586)
OKLCHoklch(26.79% 0.084 315.5)
XYZxyz(2.7091, 1.7124, 5.1878)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351641 #224116
analogous
#201641 #351641 #411638
triadic
#351641 #413516 #164135
tetradic
#351641 #412016 #224116 #163841
square
#351641 #412016 #224116 #163841
split-complementary
#351641 #384116 #164120
monochromatic
#130817 #130817 #351641 #5A256F #80359C

Accessibility & contrast

On white

15.64
#351641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#351641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351641
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351641#FFFFFF#000000##FFFFFF
##3516411.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2242
Deuteranopia (green-blind)
#162440
Tritanopia (blue-blind)
#341D29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #351641;
/* rgb */ color: rgb(53, 22, 65);
/* oklch */ color: oklch(26.8% 0.084 315.5);
Tailwind
colors: {
  custom: {
    50: '#6e5576',
    500: '#351641',
    950: '#000000',
  },
}
SCSS
$custom: #351641;
$custom-light: #6e5576;
$custom-dark: #000000;
JSON
{
  "hex": "#351641",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 283.256,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2679,
    "c": 0.08367,
    "h": 315.5
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#351641
secondary
#4C783A
accent
#D94F75
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #351641

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

Preview Lab → · Contrast checker → · Palette generator →

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