#351B86#351B86

#351B86 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.164 H 284.6°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#351B86
RGBrgb(53, 27, 134)
HSLhsl(255, 66%, 32%)
HSVhsv(255, 80%, 53%)
CMYKcmyk(60.4%, 79.9%, 0%, 47.5%)
CIE-LABlab(21.06, 41.11, -54.96)
CIE-LCHlch(21.06, 68.63, 306.80°)
OKLaboklab(33.8% 0.0413 -0.1584)
OKLCHoklch(33.8% 0.164 284.6)
XYZxyz(6.1619, 3.2616, 22.8545)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B86 #6C861B
analogous
#1B3786 #351B86 #6B1B86
triadic
#351B86 #86351B #1B8635
tetradic
#351B86 #861B37 #6C861B #1B866B
square
#351B86 #861B37 #6C861B #1B866B
split-complementary
#351B86 #866B1B #37861B
monochromatic
#0D0620 #211153 #351B86 #4925B9 #6742D9

Accessibility & contrast

On white

12.71
#351B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#351B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B86
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B86#FFFFFF#000000##FFFFFF
##351B861.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#043A50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #351b86;
/* rgb */ color: rgb(53, 27, 134);
/* oklch */ color: oklch(33.8% 0.164 284.6);
Tailwind
colors: {
  custom: {
    50: '#775baa',
    500: '#351b86',
    950: '#000000',
  },
}
SCSS
$custom: #351b86;
$custom-light: #775baa;
$custom-dark: #000000;
JSON
{
  "hex": "#351b86",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 254.579,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33797,
    "c": 0.16367,
    "h": 284.6
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#351B86
secondary
#9DB944
accent
#E93EC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351B86

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

Preview Lab → · Contrast checker → · Palette generator →

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