#350C40#350C40

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

Color values

HEX#350C40
RGBrgb(53, 12, 64)
HSLhsl(287, 68%, 15%)
HSVhsv(287, 81%, 25%)
CMYKcmyk(17.2%, 81.2%, 0%, 74.9%)
CIE-LABlab(11.89, 28.97, -23.46)
CIE-LCHlch(11.89, 37.28, 321.00°)
OKLaboklab(25.32% 0.0737 -0.0659)
OKLCHoklch(25.32% 0.099 318.2)
XYZxyz(2.5250, 1.3901, 4.9848)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350C40 #17400C
analogous
#1B0C40 #350C40 #400C31
triadic
#350C40 #40350C #0C4035
tetradic
#350C40 #401B0C #17400C #0C3140
square
#350C40 #401B0C #17400C #0C3140
split-complementary
#350C40 #31400C #0C401B
monochromatic
#15051A #15051A #350C40 #601674 #8A1FA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##350C40#FFFFFF#000000##FFFFFF
##350C401.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)
#001D41
Deuteranopia (green-blind)
#0E213F
Tritanopia (blue-blind)
#351625
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #350c40;
/* rgb */ color: rgb(53, 12, 64);
/* oklch */ color: oklch(25.3% 0.099 318.2);
Tailwind
colors: {
  custom: {
    50: '#6f4f75',
    500: '#350c40',
    950: '#000000',
  },
}
SCSS
$custom: #350c40;
$custom-light: #6f4f75;
$custom-dark: #000000;
JSON
{
  "hex": "#350c40",
  "rgb": {
    "r": 53,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 287.308,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25319,
    "c": 0.09881,
    "h": 318.2
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#350C40
secondary
#3D7C2C
accent
#EB3D61
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #350C40

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

Preview Lab → · Contrast checker → · Palette generator →

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