#351D81#351D81

#351D81 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.156 H 285.4°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#351D81
RGBrgb(53, 29, 129)
HSLhsl(254, 63%, 31%)
HSVhsv(254, 78%, 51%)
CMYKcmyk(58.9%, 77.5%, 0%, 49.4%)
CIE-LABlab(20.91, 38.55, -52.06)
CIE-LCHlch(20.91, 64.78, 306.52°)
OKLaboklab(33.53% 0.0413 -0.1499)
OKLCHoklch(33.53% 0.156 285.4)
XYZxyz(5.8688, 3.2202, 21.0769)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D81 #69811D
analogous
#1D3781 #351D81 #671D81
triadic
#351D81 #81351D #1D8135
tetradic
#351D81 #811D37 #69811D #1D8167
square
#351D81 #811D37 #69811D #1D8167
split-complementary
#351D81 #81671D #37811D
monochromatic
#0C071D #20124F #351D81 #4A28B3 #6644D5

Accessibility & contrast

On white

12.77
#351D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351D81
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D81#FFFFFF#000000##FFFFFF
##351D811.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002F7F
Tritanopia (blue-blind)
#0E394E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #351d81;
/* rgb */ color: rgb(53, 29, 129);
/* oklch */ color: oklch(33.5% 0.156 285.4);
Tailwind
colors: {
  custom: {
    50: '#765ca7',
    500: '#351d81',
    950: '#000000',
  },
}
SCSS
$custom: #351d81;
$custom-light: #765ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#351d81",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 254.4,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3353,
    "c": 0.15551,
    "h": 285.4
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#351D81
secondary
#9AB446
accent
#E641BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351D81

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

Preview Lab → · Contrast checker → · Palette generator →

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