#350540#350540

#350540 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.6% C 0.108 H 319.1°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#350540
RGBrgb(53, 5, 64)
HSLhsl(289, 86%, 14%)
HSVhsv(289, 92%, 25%)
CMYKcmyk(17.2%, 92.2%, 0%, 74.9%)
CIE-LABlab(10.82, 32.06, -25.19)
CIE-LCHlch(10.82, 40.77, 321.85°)
OKLaboklab(24.56% 0.0817 -0.0709)
OKLCHoklch(24.56% 0.108 319.1)
XYZxyz(2.4478, 1.2357, 4.9591)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350540 #104005
analogous
#170540 #350540 #40052D
triadic
#350540 #403505 #054035
tetradic
#350540 #401705 #104005 #052D40
square
#350540 #401705 #104005 #052D40
split-complementary
#350540 #2D4005 #054017
monochromatic
#18021C #18021C #350540 #640979 #930EB2

Accessibility & contrast

On white

16.84
#350540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#350540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350540
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350540#FFFFFF#000000##FFFFFF
##3505401.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A42
Deuteranopia (green-blind)
#091F3F
Tritanopia (blue-blind)
#351223
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #350540;
/* rgb */ color: rgb(53, 5, 64);
/* oklch */ color: oklch(24.6% 0.108 319.1);
Tailwind
colors: {
  custom: {
    50: '#6f4c75',
    500: '#350540',
    950: '#000000',
  },
}
SCSS
$custom: #350540;
$custom-light: #6f4c75;
$custom-dark: #000000;
JSON
{
  "hex": "#350540",
  "rgb": {
    "r": 53,
    "g": 5,
    "b": 64
  },
  "hsl": {
    "h": 288.814,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24559,
    "c": 0.10816,
    "h": 319.1
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#350540
secondary
#328120
accent
#FC2C53
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080108
muted
#7B777B

Preview Lab

Preview with #350540

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

Preview Lab → · Contrast checker → · Palette generator →

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