#351046#351046

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

Color values

HEX#351046
RGBrgb(53, 16, 70)
HSLhsl(281, 63%, 17%)
HSVhsv(281, 77%, 27%)
CMYKcmyk(24.3%, 77.1%, 0%, 72.5%)
CIE-LABlab(13.04, 28.47, -25.82)
CIE-LCHlch(13.04, 38.44, 317.79°)
OKLaboklab(26.29% 0.0681 -0.0728)
OKLCHoklch(26.29% 0.1 313.1)
XYZxyz(2.7588, 1.5697, 5.9508)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351046 #214610
analogous
#1A1046 #351046 #46103C
triadic
#351046 #463510 #104635
tetradic
#351046 #461A10 #214610 #103C46
square
#351046 #461A10 #214610 #103C46
split-complementary
#351046 #3C4610 #10461A
monochromatic
#130619 #130619 #351046 #5B1B78 #8027AA

Accessibility & contrast

On white

15.98
#351046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#351046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351046
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351046#FFFFFF#000000##FFFFFF
##3510461.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#0C2245
Tritanopia (blue-blind)
#331B29
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #351046;
/* rgb */ color: rgb(53, 16, 70);
/* oklch */ color: oklch(26.3% 0.100 313.1);
Tailwind
colors: {
  custom: {
    50: '#6f527a',
    500: '#351046',
    950: '#000000',
  },
}
SCSS
$custom: #351046;
$custom-light: #6f527a;
$custom-dark: #000000;
JSON
{
  "hex": "#351046",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 281.111,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26289,
    "c": 0.09967,
    "h": 313.1
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#351046
secondary
#4A8032
accent
#E64276
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #351046

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

Preview Lab → · Contrast checker → · Palette generator →

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