#350542#350542

#350542 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.110 H 317.6°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#350542
RGBrgb(53, 5, 66)
HSLhsl(287, 86%, 14%)
HSVhsv(287, 92%, 26%)
CMYKcmyk(19.7%, 92.4%, 0%, 74.1%)
CIE-LABlab(10.98, 32.50, -26.33)
CIE-LCHlch(10.98, 41.83, 320.98°)
OKLaboklab(24.73% 0.0813 -0.0742)
OKLCHoklch(24.73% 0.11 317.6)
XYZxyz(2.5057, 1.2589, 5.2642)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350542 #124205
analogous
#170542 #350542 #420531
triadic
#350542 #423505 #054235
tetradic
#350542 #421705 #124205 #053142
square
#350542 #421705 #124205 #053142
split-complementary
#350542 #314205 #054217
monochromatic
#17021C #17021C #350542 #63097B #900EB4

Accessibility & contrast

On white

16.78
#350542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #350542
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350542#FFFFFF#000000##FFFFFF
##3505421.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#061F41
Tritanopia (blue-blind)
#341324
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #350542;
/* rgb */ color: rgb(53, 5, 66);
/* oklch */ color: oklch(24.7% 0.110 317.6);
Tailwind
colors: {
  custom: {
    50: '#6f4c77',
    500: '#350542',
    950: '#000000',
  },
}
SCSS
$custom: #350542;
$custom-light: #6f4c77;
$custom-dark: #000000;
JSON
{
  "hex": "#350542",
  "rgb": {
    "r": 53,
    "g": 5,
    "b": 66
  },
  "hsl": {
    "h": 287.213,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24729,
    "c": 0.11008,
    "h": 317.6
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#350542
secondary
#358220
accent
#FC2C58
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080108
muted
#7B777B

Preview Lab

Preview with #350542

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

Preview Lab → · Contrast checker → · Palette generator →

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