#350F42#350F42

#350F42 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.097 H 316.2°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#350F42
RGBrgb(53, 15, 66)
HSLhsl(285, 63%, 16%)
HSVhsv(285, 77%, 26%)
CMYKcmyk(19.7%, 77.3%, 0%, 74.1%)
CIE-LABlab(12.56, 27.99, -23.80)
CIE-LCHlch(12.56, 36.74, 319.62°)
OKLaboklab(25.84% 0.0697 -0.0669)
OKLCHoklch(25.84% 0.097 316.2)
XYZxyz(2.6222, 1.4920, 5.3031)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350F42 #1C420F
analogous
#1B0F42 #350F42 #420F35
triadic
#350F42 #42350F #0F4235
tetradic
#350F42 #421B0F #1C420F #0F3542
square
#350F42 #421B0F #1C420F #0F3542
split-complementary
#350F42 #35420F #0F421B
monochromatic
#140619 #140619 #350F42 #5D1A74 #8526A6

Accessibility & contrast

On white

16.17
#350F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#350F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350F42
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350F42#FFFFFF#000000##FFFFFF
##350F421.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#0F2241
Tritanopia (blue-blind)
#341927
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #350f42;
/* rgb */ color: rgb(53, 15, 66);
/* oklch */ color: oklch(25.8% 0.097 316.2);
Tailwind
colors: {
  custom: {
    50: '#6e5177',
    500: '#350f42',
    950: '#000000',
  },
}
SCSS
$custom: #350f42;
$custom-light: #6e5177;
$custom-dark: #000000;
JSON
{
  "hex": "#350f42",
  "rgb": {
    "r": 53,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 284.706,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25842,
    "c": 0.09663,
    "h": 316.2
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#350F42
secondary
#447C30
accent
#E6426C
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #350F42

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

Preview Lab → · Contrast checker → · Palette generator →

#350F42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva