#351556#351556

#351556 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.112 H 302.2°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#351556
RGBrgb(53, 21, 86)
HSLhsl(270, 61%, 21%)
HSVhsv(270, 76%, 34%)
CMYKcmyk(38.4%, 75.6%, 0%, 66.3%)
CIE-LABlab(15.30, 30.07, -33.16)
CIE-LCHlch(15.30, 44.76, 312.21°)
OKLaboklab(28.32% 0.0595 -0.0944)
OKLCHoklch(28.32% 0.112 302.2)
XYZxyz(3.4157, 1.9651, 9.0016)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351556 #365615
analogous
#151556 #351556 #551556
triadic
#351556 #563515 #155635
tetradic
#351556 #561515 #365615 #155655
square
#351556 #561515 #365615 #155655
split-complementary
#351556 #565515 #155615
monochromatic
#0F0619 #170925 #351556 #532187 #722DB8

Accessibility & contrast

On white

15.08
#351556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#351556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351556
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351556#FFFFFF#000000##FFFFFF
##3515561.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351556;
/* rgb */ color: rgb(53, 21, 86);
/* oklch */ color: oklch(28.3% 0.112 302.2);
Tailwind
colors: {
  custom: {
    50: '#705586',
    500: '#351556',
    950: '#000000',
  },
}
SCSS
$custom: #351556;
$custom-light: #705586;
$custom-dark: #000000;
JSON
{
  "hex": "#351556",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 269.538,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28316,
    "c": 0.11159,
    "h": 302.2
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#351556
secondary
#648E39
accent
#E44495
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351556

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

Preview Lab → · Contrast checker → · Palette generator →

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