#351C79#351C79

#351C79 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.147 H 287.6°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#351C79
RGBrgb(53, 28, 121)
HSLhsl(256, 62%, 29%)
HSVhsv(256, 77%, 47%)
CMYKcmyk(56.2%, 76.9%, 0%, 52.5%)
CIE-LABlab(19.91, 36.62, -48.61)
CIE-LCHlch(19.91, 60.86, 307.00°)
OKLaboklab(32.59% 0.0443 -0.1398)
OKLCHoklch(32.59% 0.147 287.6)
XYZxyz(5.3336, 2.9676, 18.3772)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C79 #60791C
analogous
#1C3279 #351C79 #641C79
triadic
#351C79 #79351C #1C7935
tetradic
#351C79 #791C32 #60791C #1C7964
square
#351C79 #791C32 #60791C #1C7964
split-complementary
#351C79 #79641C #32791C
monochromatic
#0B0619 #1F1047 #351C79 #4B28AB #653DD2

Accessibility & contrast

On white

13.18
#351C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351C79
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C79#FFFFFF#000000##FFFFFF
##351C791.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#193549
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351c79;
/* rgb */ color: rgb(53, 28, 121);
/* oklch */ color: oklch(32.6% 0.147 287.6);
Tailwind
colors: {
  custom: {
    50: '#755ba1',
    500: '#351c79',
    950: '#000000',
  },
}
SCSS
$custom: #351c79;
$custom-light: #755ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#351c79",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 256.129,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32589,
    "c": 0.14664,
    "h": 287.6
  },
  "luminance": 0.02968
}

Semantic roles & 50–950 ramp

primary
#351C79
secondary
#91AD44
accent
#E542BA
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351C79

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

Preview Lab → · Contrast checker → · Palette generator →

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