#351D78#351D78

#351D78 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.144 H 287.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#351D78
RGBrgb(53, 29, 120)
HSLhsl(256, 61%, 29%)
HSVhsv(256, 76%, 47%)
CMYKcmyk(55.8%, 75.8%, 0%, 52.9%)
CIE-LABlab(20.01, 35.77, -47.81)
CIE-LCHlch(20.01, 59.71, 306.80°)
OKLaboklab(32.63% 0.0437 -0.1375)
OKLCHoklch(32.63% 0.144 287.6)
XYZxyz(5.2967, 2.9914, 18.0640)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D78 #60781D
analogous
#1D3378 #351D78 #631D78
triadic
#351D78 #78351D #1D7835
tetradic
#351D78 #781D33 #60781D #1D7863
square
#351D78 #781D33 #60781D #1D7863
split-complementary
#351D78 #78631D #33781D
monochromatic
#0B0619 #1F1147 #351D78 #4B29A9 #653FD1

Accessibility & contrast

On white

13.14
#351D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#351D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D78
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D78#FFFFFF#000000##FFFFFF
##351D781.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#1A3649
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351d78;
/* rgb */ color: rgb(53, 29, 120);
/* oklch */ color: oklch(32.6% 0.144 287.6);
Tailwind
colors: {
  custom: {
    50: '#745ca0',
    500: '#351d78',
    950: '#000000',
  },
}
SCSS
$custom: #351d78;
$custom-light: #745ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#351d78",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 255.824,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32626,
    "c": 0.14424,
    "h": 287.6
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#351D78
secondary
#91AC45
accent
#E444BA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #351D78

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

Preview Lab → · Contrast checker → · Palette generator →

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