#351D9E#351D9E

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

Color values

HEX#351D9E
RGBrgb(53, 29, 158)
HSLhsl(251, 69%, 37%)
HSVhsv(251, 82%, 62%)
CMYKcmyk(66.5%, 81.6%, 0%, 38%)
CIE-LABlab(24.01, 47.36, -64.96)
CIE-LCHlch(24.01, 80.39, 306.10°)
OKLaboklab(36.62% 0.0327 -0.1875)
OKLCHoklch(36.62% 0.19 279.9)
XYZxyz(8.0772, 4.1036, 32.7075)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D9E #869E1D
analogous
#1D469E #351D9E #761D9E
triadic
#351D9E #9E351D #1D9E35
tetradic
#351D9E #9E1D46 #869E1D #1D9E76
square
#351D9E #9E1D46 #869E1D #1D9E76
split-complementary
#351D9E #9E761D #469E1D
monochromatic
#120A37 #24146A #351D9E #4626D2 #6F56E0

Accessibility & contrast

On white

11.53
#351D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351D9E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D9E#FFFFFF#000000##FFFFFF
##351D9E1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351d9e;
/* rgb */ color: rgb(53, 29, 158);
/* oklch */ color: oklch(36.6% 0.190 279.9);
Tailwind
colors: {
  custom: {
    50: '#7c5ebc',
    500: '#351d9e',
    950: '#000000',
  },
}
SCSS
$custom: #351d9e;
$custom-light: #7c5ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#351d9e",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 251.163,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36622,
    "c": 0.19037,
    "h": 279.9
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#351D9E
secondary
#AEC354
accent
#EC3CCB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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