#351D80#351D80

#351D80 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.154 H 285.6°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#351D80
RGBrgb(53, 29, 128)
HSLhsl(255, 63%, 31%)
HSVhsv(255, 77%, 50%)
CMYKcmyk(58.6%, 77.3%, 0%, 49.8%)
CIE-LABlab(20.80, 38.24, -51.60)
CIE-LCHlch(20.80, 64.22, 306.54°)
OKLaboklab(33.43% 0.0416 -0.1486)
OKLCHoklch(33.43% 0.154 285.6)
XYZxyz(5.8027, 3.1938, 20.7286)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D80 #68801D
analogous
#1D3780 #351D80 #661D80
triadic
#351D80 #80351D #1D8035
tetradic
#351D80 #801D37 #68801D #1D8066
square
#351D80 #801D37 #68801D #1D8066
split-complementary
#351D80 #80661D #37801D
monochromatic
#0C061C #20124E #351D80 #4A28B2 #6643D4

Accessibility & contrast

On white

12.81
#351D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#351D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D80
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D80#FFFFFF#000000##FFFFFF
##351D801.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#10394D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #351d80;
/* rgb */ color: rgb(53, 29, 128);
/* oklch */ color: oklch(33.4% 0.154 285.6);
Tailwind
colors: {
  custom: {
    50: '#765ca6',
    500: '#351d80',
    950: '#000000',
  },
}
SCSS
$custom: #351d80;
$custom-light: #765ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#351d80",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 254.545,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33428,
    "c": 0.15428,
    "h": 285.6
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#351D80
secondary
#99B345
accent
#E642BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351D80

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

Preview Lab → · Contrast checker → · Palette generator →

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