#351C9A#351C9A

#351C9A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.187 H 280.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#351C9A
RGBrgb(53, 28, 154)
HSLhsl(252, 69%, 36%)
HSVhsv(252, 82%, 60%)
CMYKcmyk(65.6%, 81.8%, 0%, 39.6%)
CIE-LABlab(23.40, 46.63, -63.51)
CIE-LCHlch(23.40, 78.80, 306.29°)
OKLaboklab(36.07% 0.0345 -0.1833)
OKLCHoklch(36.07% 0.187 280.6)
XYZxyz(7.7143, 3.9199, 30.9157)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C9A #819A1C
analogous
#1C429A #351C9A #741C9A
triadic
#351C9A #9A351C #1C9A35
tetradic
#351C9A #9A1C42 #819A1C #1C9A74
square
#351C9A #9A1C42 #819A1C #1C9A74
split-complementary
#351C9A #9A741C #429A1C
monochromatic
#110932 #231366 #351C9A #4725CE #6D51DF

Accessibility & contrast

On white

11.77
#351C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#351C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C9A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C9A#FFFFFF#000000##FFFFFF
##351C9A1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.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: #351c9a;
/* rgb */ color: rgb(53, 28, 154);
/* oklch */ color: oklch(36.1% 0.187 280.6);
Tailwind
colors: {
  custom: {
    50: '#7b5db9',
    500: '#351c9a',
    950: '#000000',
  },
}
SCSS
$custom: #351c9a;
$custom-light: #7b5db9;
$custom-dark: #000000;
JSON
{
  "hex": "#351c9a",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 251.905,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36071,
    "c": 0.18653,
    "h": 280.6
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #351C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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