#351C80#351C80

#351C80 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.155 H 285.8°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#351C80
RGBrgb(53, 28, 128)
HSLhsl(255, 64%, 31%)
HSVhsv(255, 78%, 50%)
CMYKcmyk(58.6%, 78.1%, 0%, 49.8%)
CIE-LABlab(20.62, 38.77, -51.90)
CIE-LCHlch(20.62, 64.79, 306.76°)
OKLaboklab(33.3% 0.0424 -0.1494)
OKLCHoklch(33.3% 0.155 285.8)
XYZxyz(5.7786, 3.1456, 20.7206)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C80 #67801C
analogous
#1C3580 #351C80 #671C80
triadic
#351C80 #80351C #1C8035
tetradic
#351C80 #801C35 #67801C #1C8067
square
#351C80 #801C35 #67801C #1C8067
split-complementary
#351C80 #80671C #35801C
monochromatic
#0B061C #20114E #351C80 #4A27B2 #6641D5

Accessibility & contrast

On white

12.89
#351C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#351C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C80
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C80#FFFFFF#000000##FFFFFF
##351C801.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#10384D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #351c80;
/* rgb */ color: rgb(53, 28, 128);
/* oklch */ color: oklch(33.3% 0.155 285.8);
Tailwind
colors: {
  custom: {
    50: '#765ba6',
    500: '#351c80',
    950: '#000000',
  },
}
SCSS
$custom: #351c80;
$custom-light: #765ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#351c80",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 255,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33298,
    "c": 0.15533,
    "h": 285.8
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#351C80
secondary
#98B344
accent
#E741BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351C80

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

Preview Lab → · Contrast checker → · Palette generator →

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