#351236#351236

#351236 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.4% C 0.078 H 326.5°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#351236
RGBrgb(53, 18, 54)
HSLhsl(298, 50%, 14%)
HSVhsv(298, 67%, 21%)
CMYKcmyk(1.9%, 66.7%, 0%, 78.8%)
CIE-LABlab(12.33, 23.58, -15.63)
CIE-LCHlch(12.33, 28.29, 326.46°)
OKLaboklab(25.41% 0.0651 -0.0431)
OKLCHoklch(25.41% 0.078 326.5)
XYZxyz(2.3503, 1.4560, 3.6465)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351236 #133612
analogous
#231236 #351236 #361225
triadic
#351236 #363512 #123635
tetradic
#351236 #362312 #133612 #122536
square
#351236 #362312 #133612 #122536
split-complementary
#351236 #253612 #123623
monochromatic
#170817 #170817 #351236 #622164 #8F3192

Accessibility & contrast

On white

16.26
#351236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#351236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351236
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351236#FFFFFF#000000##FFFFFF
##3512361.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1D37
Deuteranopia (green-blind)
#192235
Tritanopia (blue-blind)
#371621
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #351236;
/* rgb */ color: rgb(53, 18, 54);
/* oklch */ color: oklch(25.4% 0.078 326.5);
Tailwind
colors: {
  custom: {
    50: '#6e526d',
    500: '#351236',
    950: '#000000',
  },
}
SCSS
$custom: #351236;
$custom-light: #6e526d;
$custom-dark: #000000;
JSON
{
  "hex": "#351236",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 298.333,
    "s": 50,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25411,
    "c": 0.0781,
    "h": 326.5
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#351236
secondary
#376F35
accent
#DA4E52
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #351236

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

Preview Lab → · Contrast checker → · Palette generator →

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