#351C7E#351C7E

#351C7E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.153 H 286.3°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#351C7E
RGBrgb(53, 28, 126)
HSLhsl(255, 64%, 30%)
HSVhsv(255, 78%, 49%)
CMYKcmyk(57.9%, 77.8%, 0%, 50.6%)
CIE-LABlab(20.41, 38.16, -50.97)
CIE-LCHlch(20.41, 63.67, 306.82°)
OKLaboklab(33.09% 0.0429 -0.1467)
OKLCHoklch(33.09% 0.153 286.3)
XYZxyz(5.6482, 3.0934, 20.0341)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C7E #657E1C
analogous
#1C347E #351C7E #661C7E
triadic
#351C7E #7E351C #1C7E35
tetradic
#351C7E #7E1C34 #657E1C #1C7E66
square
#351C7E #7E1C34 #657E1C #1C7E66
split-complementary
#351C7E #7E661C #347E1C
monochromatic
#0B061A #20114C #351C7E #4A27B0 #6640D5

Accessibility & contrast

On white

12.97
#351C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#351C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C7E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C7E#FFFFFF#000000##FFFFFF
##351C7E1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#13374C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351c7e;
/* rgb */ color: rgb(53, 28, 126);
/* oklch */ color: oklch(33.1% 0.153 286.3);
Tailwind
colors: {
  custom: {
    50: '#755ba4',
    500: '#351c7e',
    950: '#000000',
  },
}
SCSS
$custom: #351c7e;
$custom-light: #755ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#351c7e",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 255.306,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33093,
    "c": 0.15287,
    "h": 286.3
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#351C7E
secondary
#96B244
accent
#E741BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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