#351C9B#351C9B

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

Color values

HEX#351C9B
RGBrgb(53, 28, 155)
HSLhsl(252, 69%, 36%)
HSVhsv(252, 82%, 61%)
CMYKcmyk(65.8%, 81.9%, 0%, 39.2%)
CIE-LABlab(23.52, 46.93, -63.94)
CIE-LCHlch(23.52, 79.32, 306.28°)
OKLaboklab(36.18% 0.0341 -0.1846)
OKLCHoklch(36.18% 0.188 280.5)
XYZxyz(7.7980, 3.9533, 31.3561)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C9B #829B1C
analogous
#1C429B #351C9B #741C9B
triadic
#351C9B #9B351C #1C9B35
tetradic
#351C9B #9B1C42 #829B1C #1C9B74
square
#351C9B #9B1C42 #829B1C #1C9B74
split-complementary
#351C9B #9B741C #429B1C
monochromatic
#120933 #231367 #351C9B #4725CF #6E52E0

Accessibility & contrast

On white

11.73
#351C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351C9B
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C9B#FFFFFF#000000##FFFFFF
##351C9B1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351c9b;
/* rgb */ color: rgb(53, 28, 155);
/* oklch */ color: oklch(36.2% 0.188 280.5);
Tailwind
colors: {
  custom: {
    50: '#7b5dba',
    500: '#351c9b',
    950: '#000000',
  },
}
SCSS
$custom: #351c9b;
$custom-light: #7b5dba;
$custom-dark: #000000;
JSON
{
  "hex": "#351c9b",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 251.811,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36181,
    "c": 0.1877,
    "h": 280.5
  },
  "luminance": 0.03954
}

Semantic roles & 50–950 ramp

primary
#351C9B
secondary
#ACC350
accent
#EC3CC9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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