#351563#351563

#351563 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.128 H 296.3°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#351563
RGBrgb(53, 21, 99)
HSLhsl(265, 65%, 24%)
HSVhsv(265, 79%, 39%)
CMYKcmyk(46.5%, 78.8%, 0%, 61.2%)
CIE-LABlab(16.47, 33.77, -39.94)
CIE-LCHlch(16.47, 52.30, 310.21°)
OKLaboklab(29.51% 0.0566 -0.1143)
OKLCHoklch(29.51% 0.128 296.3)
XYZxyz(3.9879, 2.1940, 12.0153)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351563 #436315
analogous
#151C63 #351563 #5C1563
triadic
#351563 #633515 #156335
tetradic
#351563 #63151C #436315 #15635C
square
#351563 #63151C #436315 #15635C
split-complementary
#351563 #635C15 #1C6315
monochromatic
#0E0519 #1A0A31 #351563 #502095 #6B2AC8

Accessibility & contrast

On white

14.60
#351563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351563
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351563#FFFFFF#000000##FFFFFF
##3515631.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002861
Tritanopia (blue-blind)
#29293B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #351563;
/* rgb */ color: rgb(53, 21, 99);
/* oklch */ color: oklch(29.5% 0.128 296.3);
Tailwind
colors: {
  custom: {
    50: '#725690',
    500: '#351563',
    950: '#000000',
  },
}
SCSS
$custom: #351563;
$custom-light: #725690;
$custom-dark: #000000;
JSON
{
  "hex": "#351563",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 264.615,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29511,
    "c": 0.12757,
    "h": 296.3
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#351563
secondary
#739A3A
accent
#E840A3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #351563

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

Preview Lab → · Contrast checker → · Palette generator →

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