#351656#351656

#351656 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.110 H 302.0°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#351656
RGBrgb(53, 22, 86)
HSLhsl(269, 59%, 21%)
HSVhsv(269, 74%, 34%)
CMYKcmyk(38.4%, 74.4%, 0%, 66.3%)
CIE-LABlab(15.50, 29.52, -32.83)
CIE-LCHlch(15.50, 44.15, 311.96°)
OKLaboklab(28.46% 0.0583 -0.0935)
OKLCHoklch(28.46% 0.11 302)
XYZxyz(3.4344, 2.0026, 9.0079)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351656 #375616
analogous
#161756 #351656 #551656
triadic
#351656 #563516 #165635
tetradic
#351656 #561617 #375616 #165655
square
#351656 #561617 #375616 #165655
split-complementary
#351656 #565516 #175616
monochromatic
#0F0618 #170A25 #351656 #532287 #712FB7

Accessibility & contrast

On white

14.99
#351656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#351656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351656
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351656#FFFFFF#000000##FFFFFF
##3516561.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#2E2534
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351656;
/* rgb */ color: rgb(53, 22, 86);
/* oklch */ color: oklch(28.5% 0.110 302.0);
Tailwind
colors: {
  custom: {
    50: '#705686',
    500: '#351656',
    950: '#000000',
  },
}
SCSS
$custom: #351656;
$custom-light: #705686;
$custom-dark: #000000;
JSON
{
  "hex": "#351656",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 269.063,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28457,
    "c": 0.11015,
    "h": 302
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#351656
secondary
#658D3A
accent
#E24596
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351656

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

Preview Lab → · Contrast checker → · Palette generator →

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