#351C9F#351C9F

#351C9F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.192 H 279.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#351C9F
RGBrgb(53, 28, 159)
HSLhsl(251, 70%, 37%)
HSVhsv(251, 82%, 62%)
CMYKcmyk(66.7%, 82.4%, 0%, 37.6%)
CIE-LABlab(23.97, 48.12, -65.64)
CIE-LCHlch(23.97, 81.39, 306.24°)
OKLaboklab(36.63% 0.0329 -0.1895)
OKLCHoklch(36.63% 0.192 279.8)
XYZxyz(8.1395, 4.0899, 33.1547)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C9F #869F1C
analogous
#1C459F #351C9F #771C9F
triadic
#351C9F #9F351C #1C9F35
tetradic
#351C9F #9F1C45 #869F1C #1C9F77
square
#351C9F #9F1C45 #869F1C #1C9F77
split-complementary
#351C9F #9F771C #459F1C
monochromatic
#120A37 #24136B #351C9F #4625D3 #6F54E1

Accessibility & contrast

On white

11.55
#351C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#351C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C9F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C9F#FFFFFF#000000##FFFFFF
##351C9F1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351c9f;
/* rgb */ color: rgb(53, 28, 159);
/* oklch */ color: oklch(36.6% 0.192 279.8);
Tailwind
colors: {
  custom: {
    50: '#7c5dbd',
    500: '#351c9f',
    950: '#000000',
  },
}
SCSS
$custom: #351c9f;
$custom-light: #7c5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#351c9f",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 251.45,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36625,
    "c": 0.19235,
    "h": 279.8
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#351C9F
secondary
#AEC453
accent
#ED3BCB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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