#351D9A#351D9A

#351D9A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.186 H 280.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#351D9A
RGBrgb(53, 29, 154)
HSLhsl(252, 68%, 36%)
HSVhsv(252, 81%, 60%)
CMYKcmyk(65.6%, 81.2%, 0%, 39.6%)
CIE-LABlab(23.57, 46.17, -63.25)
CIE-LCHlch(23.57, 78.30, 306.13°)
OKLaboklab(36.18% 0.0339 -0.1826)
OKLCHoklch(36.18% 0.186 280.5)
XYZxyz(7.7384, 3.9681, 30.9237)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D9A #829A1D
analogous
#1D439A #351D9A #731D9A
triadic
#351D9A #9A351D #1D9A35
tetradic
#351D9A #9A1D43 #829A1D #1D9A73
square
#351D9A #9A1D43 #829A1D #1D9A73
split-complementary
#351D9A #9A731D #439A1D
monochromatic
#120A33 #231366 #351D9A #4727CE #6E53DF

Accessibility & contrast

On white

11.71
#351D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#351D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D9A
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D9A#FFFFFF#000000##FFFFFF
##351D9A1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #351d9a;
/* rgb */ color: rgb(53, 29, 154);
/* oklch */ color: oklch(36.2% 0.186 280.5);
Tailwind
colors: {
  custom: {
    50: '#7b5eb9',
    500: '#351d9a',
    950: '#000000',
  },
}
SCSS
$custom: #351d9a;
$custom-light: #7b5eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#351d9a",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 251.52,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36182,
    "c": 0.18568,
    "h": 280.5
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#351D9A
secondary
#ACC251
accent
#EB3DCA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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