#351D99#351D99

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

Color values

HEX#351D99
RGBrgb(53, 29, 153)
HSLhsl(252, 68%, 36%)
HSVhsv(252, 81%, 60%)
CMYKcmyk(65.4%, 81%, 0%, 40%)
CIE-LABlab(23.45, 45.87, -62.82)
CIE-LCHlch(23.45, 77.78, 306.14°)
OKLaboklab(36.07% 0.0342 -0.1813)
OKLCHoklch(36.07% 0.185 280.7)
XYZxyz(7.6555, 3.9349, 30.4869)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D99 #81991D
analogous
#1D4399 #351D99 #731D99
triadic
#351D99 #99351D #1D9935
tetradic
#351D99 #991D43 #81991D #1D9973
square
#351D99 #991D43 #81991D #1D9973
split-complementary
#351D99 #99731D #43991D
monochromatic
#110932 #231366 #351D99 #4727CC #6D52DE

Accessibility & contrast

On white

11.75
#351D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351D99
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D99#FFFFFF#000000##FFFFFF
##351D991.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #351d99;
/* rgb */ color: rgb(53, 29, 153);
/* oklch */ color: oklch(36.1% 0.184 280.7);
Tailwind
colors: {
  custom: {
    50: '#7b5db8',
    500: '#351d99',
    950: '#000000',
  },
}
SCSS
$custom: #351d99;
$custom-light: #7b5db8;
$custom-dark: #000000;
JSON
{
  "hex": "#351d99",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 251.613,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36073,
    "c": 0.1845,
    "h": 280.7
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#351D99
secondary
#ABC151
accent
#EB3DC9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351D99

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

Preview Lab → · Contrast checker → · Palette generator →

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