#351C99#351C99

#351C99 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.185 H 280.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#351C99
RGBrgb(53, 28, 153)
HSLhsl(252, 69%, 35%)
HSVhsv(252, 82%, 60%)
CMYKcmyk(65.4%, 81.7%, 0%, 40%)
CIE-LABlab(23.29, 46.34, -63.08)
CIE-LCHlch(23.29, 78.27, 306.30°)
OKLaboklab(35.96% 0.0348 -0.1821)
OKLCHoklch(35.96% 0.185 280.8)
XYZxyz(7.6314, 3.8867, 30.4789)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C99 #80991C
analogous
#1C4199 #351C99 #731C99
triadic
#351C99 #99351C #1C9935
tetradic
#351C99 #991C41 #80991C #1C9973
square
#351C99 #991C41 #80991C #1C9973
split-complementary
#351C99 #99731C #41991C
monochromatic
#110932 #231365 #351C99 #4725CD #6D50DF

Accessibility & contrast

On white

11.82
#351C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#351C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C99
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C99#FFFFFF#000000##FFFFFF
##351C991.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351c99;
/* rgb */ color: rgb(53, 28, 153);
/* oklch */ color: oklch(36.0% 0.185 280.8);
Tailwind
colors: {
  custom: {
    50: '#7b5db8',
    500: '#351c99',
    950: '#000000',
  },
}
SCSS
$custom: #351c99;
$custom-light: #7b5db8;
$custom-dark: #000000;
JSON
{
  "hex": "#351c99",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 252,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35961,
    "c": 0.18536,
    "h": 280.8
  },
  "luminance": 0.03887
}

Semantic roles & 50–950 ramp

primary
#351C99
secondary
#ABC24F
accent
#EC3CC9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351C99

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

Preview Lab → · Contrast checker → · Palette generator →

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