#351564#351564

#351564 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.129 H 295.9°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#351564
RGBrgb(53, 21, 100)
HSLhsl(264, 65%, 24%)
HSVhsv(264, 79%, 39%)
CMYKcmyk(47%, 79%, 0%, 60.8%)
CIE-LABlab(16.57, 34.06, -40.45)
CIE-LCHlch(16.57, 52.88, 310.10°)
OKLaboklab(29.61% 0.0563 -0.1158)
OKLCHoklch(29.61% 0.129 295.9)
XYZxyz(4.0360, 2.2132, 12.2687)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351564 #446415
analogous
#151C64 #351564 #5C1564
triadic
#351564 #643515 #156435
tetradic
#351564 #64151C #446415 #15645C
square
#351564 #64151C #446415 #15645C
split-complementary
#351564 #645C15 #1C6415
monochromatic
#0D0519 #1A0A31 #351564 #502097 #6B2AC9

Accessibility & contrast

On white

14.56
#351564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#351564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351564
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351564#FFFFFF#000000##FFFFFF
##3515641.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#282A3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #351564;
/* rgb */ color: rgb(53, 21, 100);
/* oklch */ color: oklch(29.6% 0.129 295.9);
Tailwind
colors: {
  custom: {
    50: '#725691',
    500: '#351564',
    950: '#000000',
  },
}
SCSS
$custom: #351564;
$custom-light: #725691;
$custom-dark: #000000;
JSON
{
  "hex": "#351564",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 264.304,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29607,
    "c": 0.12878,
    "h": 295.9
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#351564
secondary
#749B3A
accent
#E840A4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351564

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

Preview Lab → · Contrast checker → · Palette generator →

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