#350B42#350B42

#350B42 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.102 H 316.8°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#350B42
RGBrgb(53, 11, 66)
HSLhsl(286, 71%, 15%)
HSVhsv(286, 83%, 26%)
CMYKcmyk(19.7%, 83.3%, 0%, 74.1%)
CIE-LABlab(11.89, 29.88, -24.88)
CIE-LCHlch(11.89, 38.88, 320.22°)
OKLaboklab(25.37% 0.0746 -0.07)
OKLCHoklch(25.37% 0.102 316.8)
XYZxyz(2.5711, 1.3897, 5.2860)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350B42 #18420B
analogous
#190B42 #350B42 #420B34
triadic
#350B42 #42350B #0B4235
tetradic
#350B42 #42190B #18420B #0B3442
square
#350B42 #42190B #18420B #0B3442
split-complementary
#350B42 #34420B #0B4219
monochromatic
#15041A #15041A #350B42 #5F1476 #891CAB

Accessibility & contrast

On white

16.43
#350B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #350B42
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350B42#FFFFFF#000000##FFFFFF
##350B421.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#0C2041
Tritanopia (blue-blind)
#341726
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #350b42;
/* rgb */ color: rgb(53, 11, 66);
/* oklch */ color: oklch(25.4% 0.102 316.8);
Tailwind
colors: {
  custom: {
    50: '#6f4f77',
    500: '#350b42',
    950: '#000000',
  },
}
SCSS
$custom: #350b42;
$custom-light: #6f4f77;
$custom-dark: #000000;
JSON
{
  "hex": "#350b42",
  "rgb": {
    "r": 53,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 285.818,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25366,
    "c": 0.1023,
    "h": 316.8
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#350B42
secondary
#3E7F2A
accent
#EE3A64
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #350B42

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

Preview Lab → · Contrast checker → · Palette generator →

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