#350F40#350F40

#350F40 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.094 H 317.7°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#350F40
RGBrgb(53, 15, 64)
HSLhsl(287, 62%, 15%)
HSVhsv(287, 77%, 25%)
CMYKcmyk(17.2%, 76.6%, 0%, 74.9%)
CIE-LABlab(12.41, 27.51, -22.63)
CIE-LCHlch(12.41, 35.62, 320.56°)
OKLaboklab(25.69% 0.0699 -0.0635)
OKLCHoklch(25.69% 0.094 317.7)
XYZxyz(2.5643, 1.4688, 4.9979)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350F40 #1A400F
analogous
#1D0F40 #350F40 #400F32
triadic
#350F40 #40350F #0F4035
tetradic
#350F40 #401D0F #1A400F #0F3240
square
#350F40 #401D0F #1A400F #0F3240
split-complementary
#350F40 #32400F #0F401D
monochromatic
#150619 #150619 #350F40 #5E1B72 #8726A3

Accessibility & contrast

On white

16.23
#350F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#350F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350F40
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350F40#FFFFFF#000000##FFFFFF
##350F401.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#11223F
Tritanopia (blue-blind)
#351826
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #350f40;
/* rgb */ color: rgb(53, 15, 64);
/* oklch */ color: oklch(25.7% 0.094 317.7);
Tailwind
colors: {
  custom: {
    50: '#6e5175',
    500: '#350f40',
    950: '#000000',
  },
}
SCSS
$custom: #350f40;
$custom-light: #6e5175;
$custom-dark: #000000;
JSON
{
  "hex": "#350f40",
  "rgb": {
    "r": 53,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 286.531,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25688,
    "c": 0.09438,
    "h": 317.7
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#350F40
secondary
#417A30
accent
#E54367
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #350F40

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

Preview Lab → · Contrast checker → · Palette generator →

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