#351540#351540

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

Color values

HEX#351540
RGBrgb(53, 21, 64)
HSLhsl(285, 51%, 17%)
HSVhsv(285, 67%, 25%)
CMYKcmyk(17.2%, 67.2%, 0%, 74.9%)
CIE-LABlab(13.61, 24.20, -20.71)
CIE-LCHlch(13.61, 31.85, 319.44°)
OKLaboklab(26.56% 0.0612 -0.0579)
OKLCHoklch(26.56% 0.084 316.6)
XYZxyz(2.6616, 1.6635, 5.0304)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351540 #204015
analogous
#201540 #351540 #401536
triadic
#351540 #403515 #154035
tetradic
#351540 #402015 #204015 #153640
square
#351540 #402015 #204015 #153640
split-complementary
#351540 #364015 #154020
monochromatic
#130817 #130817 #351540 #5B246E #81339C

Accessibility & contrast

On white

15.76
#351540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351540
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351540#FFFFFF#000000##FFFFFF
##3515401.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092141
Deuteranopia (green-blind)
#16243F
Tritanopia (blue-blind)
#341C28
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #351540;
/* rgb */ color: rgb(53, 21, 64);
/* oklch */ color: oklch(26.6% 0.084 316.6);
Tailwind
colors: {
  custom: {
    50: '#6e5475',
    500: '#351540',
    950: '#000000',
  },
}
SCSS
$custom: #351540;
$custom-light: #6e5475;
$custom-dark: #000000;
JSON
{
  "hex": "#351540",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 284.651,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26559,
    "c": 0.08425,
    "h": 316.6
  },
  "luminance": 0.01663
}

Semantic roles & 50–950 ramp

primary
#351540
secondary
#497839
accent
#DA4E72
background
#F6F4F7
surface
#ECE8ED
border
#C7C4C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #351540

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

Preview Lab → · Contrast checker → · Palette generator →

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