#351C7B#351C7B

#351C7B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.149 H 287.0°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#351C7B
RGBrgb(53, 28, 123)
HSLhsl(256, 63%, 30%)
HSVhsv(256, 77%, 48%)
CMYKcmyk(56.9%, 77.2%, 0%, 51.8%)
CIE-LABlab(20.11, 37.24, -49.56)
CIE-LCHlch(20.11, 61.99, 306.92°)
OKLaboklab(32.79% 0.0437 -0.1426)
OKLCHoklch(32.79% 0.149 287)
XYZxyz(5.4575, 3.0172, 19.0298)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C7B #627B1C
analogous
#1C337B #351C7B #641C7B
triadic
#351C7B #7B351C #1C7B35
tetradic
#351C7B #7B1C33 #627B1C #1C7B64
square
#351C7B #7B1C33 #627B1C #1C7B64
split-complementary
#351C7B #7B641C #337B1C
monochromatic
#0B0619 #201149 #351C7B #4A27AD #653ED3

Accessibility & contrast

On white

13.10
#351C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#351C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C7B
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C7B#FFFFFF#000000##FFFFFF
##351C7B1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#17364A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351c7b;
/* rgb */ color: rgb(53, 28, 123);
/* oklch */ color: oklch(32.8% 0.149 287.0);
Tailwind
colors: {
  custom: {
    50: '#755ba2',
    500: '#351c7b',
    950: '#000000',
  },
}
SCSS
$custom: #351c7b;
$custom-light: #755ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#351c7b",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 255.789,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32789,
    "c": 0.14914,
    "h": 287
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#351C7B
secondary
#93AF44
accent
#E642BB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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