#351F99#351F99

#351F99 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.183 H 280.4°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#351F99
RGBrgb(53, 31, 153)
HSLhsl(251, 66%, 36%)
HSVhsv(251, 80%, 60%)
CMYKcmyk(65.4%, 79.7%, 0%, 40%)
CIE-LABlab(23.79, 44.89, -62.26)
CIE-LCHlch(23.79, 76.76, 305.79°)
OKLaboklab(36.31% 0.0331 -0.1797)
OKLCHoklch(36.31% 0.183 280.4)
XYZxyz(7.7061, 4.0362, 30.5038)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F99 #83991F
analogous
#1F4699 #351F99 #721F99
triadic
#351F99 #99351F #1F9935
tetradic
#351F99 #991F46 #83991F #1F9972
square
#351F99 #991F46 #83991F #1F9972
split-complementary
#351F99 #99721F #46991F
monochromatic
#120A33 #231566 #351F99 #4729CC #6E56DD

Accessibility & contrast

On white

11.62
#351F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#351F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351F99
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F99#FFFFFF#000000##FFFFFF
##351F991.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351f99;
/* rgb */ color: rgb(53, 31, 153);
/* oklch */ color: oklch(36.3% 0.183 280.4);
Tailwind
colors: {
  custom: {
    50: '#7b5fb8',
    500: '#351f99',
    950: '#000000',
  },
}
SCSS
$custom: #351f99;
$custom-light: #7b5fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#351f99",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 250.82,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36306,
    "c": 0.18274,
    "h": 280.4
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#351F99
secondary
#ADC054
accent
#E93FCA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351F99

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

Preview Lab → · Contrast checker → · Palette generator →

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