#351C86#351C86

#351C86 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.163 H 284.5°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#351C86
RGBrgb(53, 28, 134)
HSLhsl(254, 65%, 32%)
HSVhsv(254, 79%, 53%)
CMYKcmyk(60.4%, 79.1%, 0%, 47.5%)
CIE-LABlab(21.24, 40.60, -54.67)
CIE-LCHlch(21.24, 68.10, 306.60°)
OKLaboklab(33.92% 0.0406 -0.1575)
OKLCHoklch(33.92% 0.163 284.5)
XYZxyz(6.1852, 3.3082, 22.8623)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C86 #6D861C
analogous
#1C3886 #351C86 #6A1C86
triadic
#351C86 #86351C #1C8635
tetradic
#351C86 #861C38 #6D861C #1C866A
square
#351C86 #861C38 #6D861C #1C866A
split-complementary
#351C86 #866A1C #38861C
monochromatic
#0D0721 #211153 #351C86 #4927B9 #6744D8

Accessibility & contrast

On white

12.64
#351C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#351C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C86
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C86#FFFFFF#000000##FFFFFF
##351C861.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#043B50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #351c86;
/* rgb */ color: rgb(53, 28, 134);
/* oklch */ color: oklch(33.9% 0.163 284.5);
Tailwind
colors: {
  custom: {
    50: '#775caa',
    500: '#351c86',
    950: '#000000',
  },
}
SCSS
$custom: #351c86;
$custom-light: #775caa;
$custom-dark: #000000;
JSON
{
  "hex": "#351c86",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 254.151,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3392,
    "c": 0.16268,
    "h": 284.5
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#351C86
secondary
#9EB945
accent
#E83FC1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351C86

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

Preview Lab → · Contrast checker → · Palette generator →

#351C86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva