#351560#351560

#351560 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.124 H 297.6°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#351560
RGBrgb(53, 21, 96)
HSLhsl(266, 64%, 23%)
HSVhsv(266, 78%, 38%)
CMYKcmyk(44.8%, 78.1%, 0%, 62.4%)
CIE-LABlab(16.19, 32.91, -38.41)
CIE-LCHlch(16.19, 50.58, 310.59°)
OKLaboklab(29.23% 0.0574 -0.1098)
OKLCHoklch(29.23% 0.124 297.6)
XYZxyz(3.8471, 2.1377, 11.2740)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351560 #406015
analogous
#151A60 #351560 #5A1560
triadic
#351560 #603515 #156035
tetradic
#351560 #60151A #406015 #15605A
square
#351560 #60151A #406015 #15605A
split-complementary
#351560 #605A15 #1A6015
monochromatic
#0E0519 #190A2E #351560 #512092 #6C2BC4

Accessibility & contrast

On white

14.71
#351560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#351560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351560
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351560#FFFFFF#000000##FFFFFF
##3515601.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#2A2839
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351560;
/* rgb */ color: rgb(53, 21, 96);
/* oklch */ color: oklch(29.2% 0.124 297.6);
Tailwind
colors: {
  custom: {
    50: '#71568e',
    500: '#351560',
    950: '#000000',
  },
}
SCSS
$custom: #351560;
$custom-light: #71568e;
$custom-dark: #000000;
JSON
{
  "hex": "#351560",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 265.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29226,
    "c": 0.12391,
    "h": 297.6
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#351560
secondary
#6F973A
accent
#E741A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351560

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

Preview Lab → · Contrast checker → · Palette generator →

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