#351D9F#351D9F

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

Color values

HEX#351D9F
RGBrgb(53, 29, 159)
HSLhsl(251, 69%, 37%)
HSVhsv(251, 82%, 62%)
CMYKcmyk(66.7%, 81.8%, 0%, 37.6%)
CIE-LABlab(24.12, 47.66, -65.39)
CIE-LCHlch(24.12, 80.91, 306.09°)
OKLaboklab(36.73% 0.0324 -0.1888)
OKLCHoklch(36.73% 0.192 279.7)
XYZxyz(8.1636, 4.1382, 33.1627)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D9F #879F1D
analogous
#1D469F #351D9F #761D9F
triadic
#351D9F #9F351D #1D9F35
tetradic
#351D9F #9F1D46 #879F1D #1D9F76
square
#351D9F #9F1D46 #879F1D #1D9F76
split-complementary
#351D9F #9F761D #469F1D
monochromatic
#120A37 #24146B #351D9F #4626D3 #7056E0

Accessibility & contrast

On white

11.49
#351D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#351D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D9F
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D9F#FFFFFF#000000##FFFFFF
##351D9F1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.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: #351d9f;
/* rgb */ color: rgb(53, 29, 159);
/* oklch */ color: oklch(36.7% 0.192 279.7);
Tailwind
colors: {
  custom: {
    50: '#7c5ebd',
    500: '#351d9f',
    950: '#000000',
  },
}
SCSS
$custom: #351d9f;
$custom-light: #7c5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#351d9f",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 251.077,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36733,
    "c": 0.19154,
    "h": 279.7
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #351D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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