#351C9C#351C9C

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

Color values

HEX#351C9C
RGBrgb(53, 28, 156)
HSLhsl(252, 70%, 36%)
HSVhsv(252, 82%, 61%)
CMYKcmyk(66%, 82.1%, 0%, 38.8%)
CIE-LABlab(23.63, 47.23, -64.37)
CIE-LCHlch(23.63, 79.84, 306.27°)
OKLaboklab(36.29% 0.0338 -0.1858)
OKLCHoklch(36.29% 0.189 280.3)
XYZxyz(7.8823, 3.9871, 31.8002)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C9C #839C1C
analogous
#1C439C #351C9C #751C9C
triadic
#351C9C #9C351C #1C9C35
tetradic
#351C9C #9C1C43 #839C1C #1C9C75
square
#351C9C #9C1C43 #839C1C #1C9C75
split-complementary
#351C9C #9C751C #439C1C
monochromatic
#120934 #231368 #351C9C #4725D0 #6E52E0

Accessibility & contrast

On white

11.68
#351C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#351C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C9C
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C9C#FFFFFF#000000##FFFFFF
##351C9C1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #351c9c;
/* rgb */ color: rgb(53, 28, 156);
/* oklch */ color: oklch(36.3% 0.189 280.3);
Tailwind
colors: {
  custom: {
    50: '#7b5dba',
    500: '#351c9c',
    950: '#000000',
  },
}
SCSS
$custom: #351c9c;
$custom-light: #7b5dba;
$custom-dark: #000000;
JSON
{
  "hex": "#351c9c",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 156
  },
  "hsl": {
    "h": 251.719,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36292,
    "c": 0.18886,
    "h": 280.3
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#351C9C
secondary
#ADC351
accent
#EC3BCA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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