#351561#351561

#351561 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.3% C 0.125 H 297.2°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#351561
RGBrgb(53, 21, 97)
HSLhsl(265, 64%, 23%)
HSVhsv(265, 78%, 38%)
CMYKcmyk(45.4%, 78.4%, 0%, 62%)
CIE-LABlab(16.29, 33.19, -38.92)
CIE-LCHlch(16.29, 51.15, 310.46°)
OKLaboklab(29.32% 0.0571 -0.1113)
OKLCHoklch(29.32% 0.125 297.2)
XYZxyz(3.8935, 2.1562, 11.5180)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351561 #416115
analogous
#151B61 #351561 #5B1561
triadic
#351561 #613515 #156135
tetradic
#351561 #61151B #416115 #15615B
square
#351561 #61151B #416115 #15615B
split-complementary
#351561 #615B15 #1B6115
monochromatic
#0E0519 #1A0A2F #351561 #502093 #6C2BC6

Accessibility & contrast

On white

14.67
#351561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351561
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351561#FFFFFF#000000##FFFFFF
##3515611.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002760
Tritanopia (blue-blind)
#2A293A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351561;
/* rgb */ color: rgb(53, 21, 97);
/* oklch */ color: oklch(29.3% 0.125 297.2);
Tailwind
colors: {
  custom: {
    50: '#71568f',
    500: '#351561',
    950: '#000000',
  },
}
SCSS
$custom: #351561;
$custom-light: #71568f;
$custom-dark: #000000;
JSON
{
  "hex": "#351561",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 265.263,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2932,
    "c": 0.12513,
    "h": 297.2
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#351561
secondary
#70983A
accent
#E740A1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351561

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

Preview Lab → · Contrast checker → · Palette generator →

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