#351340#351340

#351340 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.088 H 317.0°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#351340
RGBrgb(53, 19, 64)
HSLhsl(285, 54%, 16%)
HSVhsv(285, 70%, 25%)
CMYKcmyk(17.2%, 70.3%, 0%, 74.9%)
CIE-LABlab(13.19, 25.36, -21.39)
CIE-LCHlch(13.19, 33.17, 319.85°)
OKLaboklab(26.25% 0.0642 -0.0598)
OKLCHoklch(26.25% 0.088 317)
XYZxyz(2.6263, 1.5929, 5.0186)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351340 #1E4013
analogous
#1F1340 #351340 #401335
triadic
#351340 #403513 #134035
tetradic
#351340 #401F13 #1E4013 #133540
square
#351340 #401F13 #1E4013 #133540
split-complementary
#351340 #354013 #13401F
monochromatic
#140718 #140718 #351340 #5C216F #832F9E

Accessibility & contrast

On white

15.93
#351340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#351340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351340
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351340#FFFFFF#000000##FFFFFF
##3513401.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062041
Deuteranopia (green-blind)
#14233F
Tritanopia (blue-blind)
#351B27
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #351340;
/* rgb */ color: rgb(53, 19, 64);
/* oklch */ color: oklch(26.3% 0.088 317.0);
Tailwind
colors: {
  custom: {
    50: '#6e5375',
    500: '#351340',
    950: '#000000',
  },
}
SCSS
$custom: #351340;
$custom-light: #6e5375;
$custom-dark: #000000;
JSON
{
  "hex": "#351340",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 285.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2625,
    "c": 0.08779,
    "h": 317
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#351340
secondary
#467936
accent
#DE4A6E
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #351340

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

Preview Lab → · Contrast checker → · Palette generator →

#351340 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva