#351756#351756

#351756 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.109 H 301.7°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#351756
RGBrgb(53, 23, 86)
HSLhsl(269, 58%, 21%)
HSVhsv(269, 73%, 34%)
CMYKcmyk(38.4%, 73.3%, 0%, 66.3%)
CIE-LABlab(15.70, 28.96, -32.51)
CIE-LCHlch(15.70, 43.54, 311.70°)
OKLaboklab(28.6% 0.0571 -0.0925)
OKLCHoklch(28.6% 0.109 301.7)
XYZxyz(3.4539, 2.0415, 9.0144)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351756 #385617
analogous
#171956 #351756 #551756
triadic
#351756 #563517 #175635
tetradic
#351756 #561719 #385617 #175655
square
#351756 #561719 #385617 #175655
split-complementary
#351756 #565517 #195617
monochromatic
#0F0618 #170A26 #351756 #532486 #7131B7

Accessibility & contrast

On white

14.91
#351756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#351756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351756
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351756#FFFFFF#000000##FFFFFF
##3517561.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351756;
/* rgb */ color: rgb(53, 23, 86);
/* oklch */ color: oklch(28.6% 0.109 301.7);
Tailwind
colors: {
  custom: {
    50: '#705686',
    500: '#351756',
    950: '#000000',
  },
}
SCSS
$custom: #351756;
$custom-light: #705686;
$custom-dark: #000000;
JSON
{
  "hex": "#351756",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 268.571,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28602,
    "c": 0.10869,
    "h": 301.7
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#351756
secondary
#668D3C
accent
#E14798
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351756

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

Preview Lab → · Contrast checker → · Palette generator →

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