#351246#351246

#351246 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.097 H 312.6°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#351246
RGBrgb(53, 18, 70)
HSLhsl(280, 59%, 17%)
HSVhsv(280, 74%, 27%)
CMYKcmyk(24.3%, 74.3%, 0%, 72.5%)
CIE-LABlab(13.42, 27.41, -25.21)
CIE-LCHlch(13.42, 37.25, 317.39°)
OKLaboklab(26.56% 0.0654 -0.071)
OKLCHoklch(26.56% 0.097 312.6)
XYZxyz(2.7898, 1.6318, 5.9612)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351246 #234612
analogous
#1B1246 #351246 #46123D
triadic
#351246 #463512 #124635
tetradic
#351246 #461B12 #234612 #123D46
square
#351246 #461B12 #234612 #123D46
split-complementary
#351246 #3D4612 #12461B
monochromatic
#120618 #120618 #351246 #5A1F77 #7F2BA7

Accessibility & contrast

On white

15.83
#351246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#351246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351246
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351246#FFFFFF#000000##FFFFFF
##3512461.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#0E2345
Tritanopia (blue-blind)
#331C2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #351246;
/* rgb */ color: rgb(53, 18, 70);
/* oklch */ color: oklch(26.6% 0.097 312.6);
Tailwind
colors: {
  custom: {
    50: '#6e537a',
    500: '#351246',
    950: '#000000',
  },
}
SCSS
$custom: #351246;
$custom-light: #6e537a;
$custom-dark: #000000;
JSON
{
  "hex": "#351246",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 280.385,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2656,
    "c": 0.09659,
    "h": 312.6
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#351246
secondary
#4D7F35
accent
#E24679
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #351246

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

Preview Lab → · Contrast checker → · Palette generator →

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