#351541#351541

#351541 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.6% C 0.085 H 315.8°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#351541
RGBrgb(53, 21, 65)
HSLhsl(284, 51%, 17%)
HSVhsv(284, 68%, 25%)
CMYKcmyk(18.5%, 67.7%, 0%, 74.5%)
CIE-LABlab(13.68, 24.45, -21.30)
CIE-LCHlch(13.68, 32.43, 318.93°)
OKLaboklab(26.63% 0.0612 -0.0596)
OKLCHoklch(26.63% 0.085 315.8)
XYZxyz(2.6904, 1.6750, 5.1816)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351541 #214115
analogous
#1F1541 #351541 #411537
triadic
#351541 #413515 #154135
tetradic
#351541 #411F15 #214115 #153741
square
#351541 #411F15 #214115 #153741
split-complementary
#351541 #374115 #15411F
monochromatic
#130717 #130717 #351541 #5B246F #80339E

Accessibility & contrast

On white

15.73
#351541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351541
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351541#FFFFFF#000000##FFFFFF
##3515411.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082142
Deuteranopia (green-blind)
#152440
Tritanopia (blue-blind)
#341D28
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #351541;
/* rgb */ color: rgb(53, 21, 65);
/* oklch */ color: oklch(26.6% 0.085 315.8);
Tailwind
colors: {
  custom: {
    50: '#6e5476',
    500: '#351541',
    950: '#000000',
  },
}
SCSS
$custom: #351541;
$custom-light: #6e5476;
$custom-dark: #000000;
JSON
{
  "hex": "#351541",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 283.636,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2663,
    "c": 0.08548,
    "h": 315.8
  },
  "luminance": 0.01675
}

Semantic roles & 50–950 ramp

primary
#351541
secondary
#4A7939
accent
#DB4D74
background
#F6F4F7
surface
#ECE8ED
border
#C7C4C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #351541

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

Preview Lab → · Contrast checker → · Palette generator →

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