#351146#351146

#351146 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.098 H 312.9°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#351146
RGBrgb(53, 17, 70)
HSLhsl(281, 61%, 17%)
HSVhsv(281, 76%, 27%)
CMYKcmyk(24.3%, 75.7%, 0%, 72.5%)
CIE-LABlab(13.23, 27.95, -25.52)
CIE-LCHlch(13.23, 37.85, 317.60°)
OKLaboklab(26.42% 0.0668 -0.0719)
OKLCHoklch(26.42% 0.098 312.9)
XYZxyz(2.7739, 1.6001, 5.9559)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351146 #224611
analogous
#1B1146 #351146 #46113D
triadic
#351146 #463511 #114635
tetradic
#351146 #461B11 #224611 #113D46
square
#351146 #461B11 #224611 #113D46
split-complementary
#351146 #3D4611 #11461B
monochromatic
#130619 #130619 #351146 #5A1D77 #8029A8

Accessibility & contrast

On white

15.91
#351146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351146
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351146#FFFFFF#000000##FFFFFF
##3511461.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351146;
/* rgb */ color: rgb(53, 17, 70);
/* oklch */ color: oklch(26.4% 0.098 312.9);
Tailwind
colors: {
  custom: {
    50: '#6f527a',
    500: '#351146',
    950: '#000000',
  },
}
SCSS
$custom: #351146;
$custom-light: #6f527a;
$custom-dark: #000000;
JSON
{
  "hex": "#351146",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 280.755,
    "s": 60.92,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26422,
    "c": 0.09816,
    "h": 312.9
  },
  "luminance": 0.016
}

Semantic roles & 50–950 ramp

primary
#351146
secondary
#4C8033
accent
#E44477
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #351146

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

Preview Lab → · Contrast checker → · Palette generator →

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