#351557#351557

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

Color values

HEX#351557
RGBrgb(53, 21, 87)
HSLhsl(269, 61%, 21%)
HSVhsv(269, 76%, 34%)
CMYKcmyk(39.1%, 75.9%, 0%, 65.9%)
CIE-LABlab(15.39, 30.35, -33.69)
CIE-LCHlch(15.39, 45.35, 312.02°)
OKLaboklab(28.4% 0.0593 -0.096)
OKLCHoklch(28.4% 0.113 301.7)
XYZxyz(3.4563, 1.9813, 9.2153)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351557 #375715
analogous
#151657 #351557 #561557
triadic
#351557 #573515 #155735
tetradic
#351557 #571516 #375715 #155756
square
#351557 #571516 #375715 #155756
split-complementary
#351557 #575615 #165715
monochromatic
#0F0619 #170926 #351557 #532188 #712DBA

Accessibility & contrast

On white

15.04
#351557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351557
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351557#FFFFFF#000000##FFFFFF
##3515571.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#002656
Tritanopia (blue-blind)
#2E2534
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #351557;
/* rgb */ color: rgb(53, 21, 87);
/* oklch */ color: oklch(28.4% 0.113 301.7);
Tailwind
colors: {
  custom: {
    50: '#705587',
    500: '#351557',
    950: '#000000',
  },
}
SCSS
$custom: #351557;
$custom-light: #705587;
$custom-dark: #000000;
JSON
{
  "hex": "#351557",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 87
  },
  "hsl": {
    "h": 269.091,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28404,
    "c": 0.11283,
    "h": 301.7
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#351557
secondary
#658F39
accent
#E44496
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351557

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

Preview Lab → · Contrast checker → · Palette generator →

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