#351657#351657

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

Color values

HEX#351657
RGBrgb(53, 22, 87)
HSLhsl(269, 60%, 21%)
HSVhsv(269, 75%, 34%)
CMYKcmyk(39.1%, 74.7%, 0%, 65.9%)
CIE-LABlab(15.59, 29.80, -33.37)
CIE-LCHlch(15.59, 44.74, 311.77°)
OKLaboklab(28.55% 0.0581 -0.095)
OKLCHoklch(28.55% 0.111 301.5)
XYZxyz(3.4750, 2.0188, 9.2216)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351657 #385716
analogous
#161857 #351657 #561657
triadic
#351657 #573516 #165735
tetradic
#351657 #571618 #385716 #165756
square
#351657 #571618 #385716 #165756
split-complementary
#351657 #575616 #185716
monochromatic
#0F0618 #170A26 #351657 #532288 #712FB9

Accessibility & contrast

On white

14.96
#351657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351657
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351657#FFFFFF#000000##FFFFFF
##3516571.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351657;
/* rgb */ color: rgb(53, 22, 87);
/* oklch */ color: oklch(28.5% 0.111 301.5);
Tailwind
colors: {
  custom: {
    50: '#705687',
    500: '#351657',
    950: '#000000',
  },
}
SCSS
$custom: #351657;
$custom-light: #705687;
$custom-dark: #000000;
JSON
{
  "hex": "#351657",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 268.615,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28545,
    "c": 0.11141,
    "h": 301.5
  },
  "luminance": 0.02019
}

Semantic roles & 50–950 ramp

primary
#351657
secondary
#668E3A
accent
#E34598
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351657

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

Preview Lab → · Contrast checker → · Palette generator →

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