#351D83#351D83

#351D83 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.158 H 284.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#351D83
RGBrgb(53, 29, 131)
HSLhsl(254, 64%, 31%)
HSVhsv(254, 78%, 51%)
CMYKcmyk(59.5%, 77.9%, 0%, 48.6%)
CIE-LABlab(21.11, 39.17, -52.99)
CIE-LCHlch(21.11, 65.90, 306.47°)
OKLaboklab(33.74% 0.0408 -0.1526)
OKLCHoklch(33.74% 0.158 284.9)
XYZxyz(6.0030, 3.2739, 21.7839)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D83 #6B831D
analogous
#1D3883 #351D83 #681D83
triadic
#351D83 #83351D #1D8335
tetradic
#351D83 #831D38 #6B831D #1D8368
square
#351D83 #831D38 #6B831D #1D8368
split-complementary
#351D83 #83681D #38831D
monochromatic
#0C071F #211251 #351D83 #4928B5 #6745D6

Accessibility & contrast

On white

12.69
#351D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351D83
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D83#FFFFFF#000000##FFFFFF
##351D831.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#0A3A4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #351d83;
/* rgb */ color: rgb(53, 29, 131);
/* oklch */ color: oklch(33.7% 0.158 284.9);
Tailwind
colors: {
  custom: {
    50: '#765ca8',
    500: '#351d83',
    950: '#000000',
  },
}
SCSS
$custom: #351d83;
$custom-light: #765ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#351d83",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 254.118,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33735,
    "c": 0.15799,
    "h": 284.9
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#351D83
secondary
#9CB646
accent
#E741C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #351D83

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

Preview Lab → · Contrast checker → · Palette generator →

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