#350C42#350C42

#350C42 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.101 H 316.7°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#350C42
RGBrgb(53, 12, 66)
HSLhsl(286, 69%, 15%)
HSVhsv(286, 82%, 26%)
CMYKcmyk(19.7%, 81.8%, 0%, 74.1%)
CIE-LABlab(12.05, 29.44, -24.62)
CIE-LCHlch(12.05, 38.38, 320.09°)
OKLaboklab(25.48% 0.0734 -0.0693)
OKLCHoklch(25.48% 0.101 316.7)
XYZxyz(2.5829, 1.4133, 5.2899)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350C42 #19420C
analogous
#1A0C42 #350C42 #420C34
triadic
#350C42 #42350C #0C4235
tetradic
#350C42 #421A0C #19420C #0C3442
square
#350C42 #421A0C #19420C #0C3442
split-complementary
#350C42 #34420C #0C421A
monochromatic
#15051A #15051A #350C42 #5F1576 #881FAA

Accessibility & contrast

On white

16.37
#350C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#350C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350C42
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350C42#FFFFFF#000000##FFFFFF
##350C421.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#0C2141
Tritanopia (blue-blind)
#341726
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #350c42;
/* rgb */ color: rgb(53, 12, 66);
/* oklch */ color: oklch(25.5% 0.101 316.7);
Tailwind
colors: {
  custom: {
    50: '#6f4f77',
    500: '#350c42',
    950: '#000000',
  },
}
SCSS
$custom: #350c42;
$custom-light: #6f4f77;
$custom-dark: #000000;
JSON
{
  "hex": "#350c42",
  "rgb": {
    "r": 53,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 285.556,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25477,
    "c": 0.10095,
    "h": 316.7
  },
  "luminance": 0.01413
}

Semantic roles & 50–950 ramp

primary
#350C42
secondary
#407E2C
accent
#EC3C66
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #350C42

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

Preview Lab → · Contrast checker → · Palette generator →

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