#351647#351647

#351647 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.2% C 0.091 H 310.9°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#351647
RGBrgb(53, 22, 71)
HSLhsl(278, 53%, 18%)
HSVhsv(278, 69%, 28%)
CMYKcmyk(25.4%, 69%, 0%, 72.2%)
CIE-LABlab(14.32, 25.41, -24.47)
CIE-LCHlch(14.32, 35.28, 316.08°)
OKLaboklab(27.23% 0.0598 -0.0689)
OKLCHoklch(27.23% 0.091 310.9)
XYZxyz(2.8922, 1.7857, 6.1523)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351647 #284716
analogous
#1C1647 #351647 #471640
triadic
#351647 #473516 #164735
tetradic
#351647 #471C16 #284716 #164047
square
#351647 #471C16 #284716 #164047
split-complementary
#351647 #404716 #16471C
monochromatic
#110717 #120818 #351647 #582476 #7B33A4

Accessibility & contrast

On white

15.47
#351647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#351647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351647
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351647#FFFFFF#000000##FFFFFF
##3516471.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032349
Deuteranopia (green-blind)
#112546
Tritanopia (blue-blind)
#331F2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #351647;
/* rgb */ color: rgb(53, 22, 71);
/* oklch */ color: oklch(27.2% 0.091 310.9);
Tailwind
colors: {
  custom: {
    50: '#6e557a',
    500: '#351647',
    950: '#000000',
  },
}
SCSS
$custom: #351647;
$custom-light: #6e557a;
$custom-dark: #000000;
JSON
{
  "hex": "#351647",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 277.959,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27232,
    "c": 0.09121,
    "h": 310.9
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#351647
secondary
#537E3A
accent
#DC4C81
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #351647

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

Preview Lab → · Contrast checker → · Palette generator →

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