#350B40#350B40

#350B40 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.100 H 318.3°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#350B40
RGBrgb(53, 11, 64)
HSLhsl(288, 71%, 15%)
HSVhsv(288, 83%, 25%)
CMYKcmyk(17.2%, 82.8%, 0%, 74.9%)
CIE-LABlab(11.73, 29.42, -23.71)
CIE-LCHlch(11.73, 37.79, 321.13°)
OKLaboklab(25.21% 0.0748 -0.0666)
OKLCHoklch(25.21% 0.1 318.3)
XYZxyz(2.5132, 1.3665, 4.9809)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350B40 #16400B
analogous
#1B0B40 #350B40 #400B31
triadic
#350B40 #40350B #0B4035
tetradic
#350B40 #401B0B #16400B #0B3140
square
#350B40 #401B0B #16400B #0B3140
split-complementary
#350B40 #31400B #0B401B
monochromatic
#16041A #16041A #350B40 #601474 #8B1DA8

Accessibility & contrast

On white

16.49
#350B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#350B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350B40
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350B40#FFFFFF#000000##FFFFFF
##350B401.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#0E203F
Tritanopia (blue-blind)
#351624
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #350b40;
/* rgb */ color: rgb(53, 11, 64);
/* oklch */ color: oklch(25.2% 0.100 318.3);
Tailwind
colors: {
  custom: {
    50: '#6f4f75',
    500: '#350b40',
    950: '#000000',
  },
}
SCSS
$custom: #350b40;
$custom-light: #6f4f75;
$custom-dark: #000000;
JSON
{
  "hex": "#350b40",
  "rgb": {
    "r": 53,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 287.547,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25205,
    "c": 0.10018,
    "h": 318.3
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#350B40
secondary
#3B7D2A
accent
#ED3A60
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #350B40

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

Preview Lab → · Contrast checker → · Palette generator →

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