#351C78#351C78

#351C78 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.145 H 287.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#351C78
RGBrgb(53, 28, 120)
HSLhsl(256, 62%, 29%)
HSVhsv(256, 77%, 47%)
CMYKcmyk(55.8%, 76.7%, 0%, 52.9%)
CIE-LABlab(19.82, 36.32, -48.13)
CIE-LCHlch(19.82, 60.29, 307.04°)
OKLaboklab(32.49% 0.0445 -0.1384)
OKLCHoklch(32.49% 0.145 287.8)
XYZxyz(5.2726, 2.9432, 18.0559)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C78 #5F781C
analogous
#1C3178 #351C78 #631C78
triadic
#351C78 #78351C #1C7835
tetradic
#351C78 #781C31 #5F781C #1C7863
square
#351C78 #781C31 #5F781C #1C7863
split-complementary
#351C78 #78631C #31781C
monochromatic
#0B0619 #1F1046 #351C78 #4B28AA #653DD2

Accessibility & contrast

On white

13.22
#351C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#351C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C78
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C78#FFFFFF#000000##FFFFFF
##351C781.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002D76
Tritanopia (blue-blind)
#1A3548
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351c78;
/* rgb */ color: rgb(53, 28, 120);
/* oklch */ color: oklch(32.5% 0.145 287.8);
Tailwind
colors: {
  custom: {
    50: '#745ba0',
    500: '#351c78',
    950: '#000000',
  },
}
SCSS
$custom: #351c78;
$custom-light: #745ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#351c78",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 256.304,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32489,
    "c": 0.14538,
    "h": 287.8
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#351C78
secondary
#90AC44
accent
#E543B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #351C78

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

Preview Lab → · Contrast checker → · Palette generator →

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