#351568#351568

#351568 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.134 H 294.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#351568
RGBrgb(53, 21, 104)
HSLhsl(263, 66%, 25%)
HSVhsv(263, 80%, 41%)
CMYKcmyk(49%, 79.8%, 0%, 59.2%)
CIE-LABlab(16.95, 35.21, -42.45)
CIE-LCHlch(16.95, 55.15, 309.67°)
OKLaboklab(30% 0.0552 -0.1217)
OKLCHoklch(30% 0.134 294.4)
XYZxyz(4.2344, 2.2926, 13.3134)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351568 #486815
analogous
#151E68 #351568 #5F1568
triadic
#351568 #683515 #156835
tetradic
#351568 #68151E #486815 #15685F
square
#351568 #68151E #486815 #15685F
split-complementary
#351568 #685F15 #1E6815
monochromatic
#0D0519 #1B0B35 #351568 #4F1F9B #692ACE

Accessibility & contrast

On white

14.40
#351568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#351568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351568
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351568#FFFFFF#000000##FFFFFF
##3515681.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#262B3E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351568;
/* rgb */ color: rgb(53, 21, 104);
/* oklch */ color: oklch(30.0% 0.134 294.4);
Tailwind
colors: {
  custom: {
    50: '#725694',
    500: '#351568',
    950: '#000000',
  },
}
SCSS
$custom: #351568;
$custom-light: #725694;
$custom-dark: #000000;
JSON
{
  "hex": "#351568",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 263.133,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29995,
    "c": 0.13364,
    "h": 294.4
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#351568
secondary
#789F3A
accent
#E93EA7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351568

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

Preview Lab → · Contrast checker → · Palette generator →

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