#351D77#351D77

#351D77 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.143 H 287.9°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#351D77
RGBrgb(53, 29, 119)
HSLhsl(256, 61%, 29%)
HSVhsv(256, 76%, 47%)
CMYKcmyk(55.5%, 75.6%, 0%, 53.3%)
CIE-LABlab(19.91, 35.46, -47.33)
CIE-LCHlch(19.91, 59.14, 306.84°)
OKLaboklab(32.53% 0.0439 -0.1361)
OKLCHoklch(32.53% 0.143 287.9)
XYZxyz(5.2364, 2.9673, 17.7460)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D77 #5F771D
analogous
#1D3277 #351D77 #621D77
triadic
#351D77 #77351D #1D7735
tetradic
#351D77 #771D32 #5F771D #1D7762
square
#351D77 #771D32 #5F771D #1D7762
split-complementary
#351D77 #77621D #32771D
monochromatic
#0B0619 #1F1146 #351D77 #4B29A8 #653ED0

Accessibility & contrast

On white

13.18
#351D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#351D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D77
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D77#FFFFFF#000000##FFFFFF
##351D771.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#1B3548
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351d77;
/* rgb */ color: rgb(53, 29, 119);
/* oklch */ color: oklch(32.5% 0.143 287.9);
Tailwind
colors: {
  custom: {
    50: '#745c9f',
    500: '#351d77',
    950: '#000000',
  },
}
SCSS
$custom: #351d77;
$custom-light: #745c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#351d77",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 256,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32528,
    "c": 0.14297,
    "h": 287.9
  },
  "luminance": 0.02968
}

Semantic roles & 50–950 ramp

primary
#351D77
secondary
#90AB45
accent
#E444B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #351D77

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

Preview Lab → · Contrast checker → · Palette generator →

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