#351C76#351C76

#351C76 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.143 H 288.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#351C76
RGBrgb(53, 28, 118)
HSLhsl(257, 62%, 29%)
HSVhsv(257, 76%, 46%)
CMYKcmyk(55.1%, 76.3%, 0%, 53.7%)
CIE-LABlab(19.62, 35.70, -47.17)
CIE-LCHlch(19.62, 59.16, 307.12°)
OKLaboklab(32.29% 0.045 -0.1356)
OKLCHoklch(32.29% 0.143 288.4)
XYZxyz(5.1525, 2.8951, 17.4234)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C76 #5D761C
analogous
#1C3076 #351C76 #621C76
triadic
#351C76 #76351C #1C7635
tetradic
#351C76 #761C30 #5D761C #1C7662
square
#351C76 #761C30 #5D761C #1C7662
split-complementary
#351C76 #76621C #30761C
monochromatic
#0B0619 #1F1045 #351C76 #4B28A7 #653CD1

Accessibility & contrast

On white

13.30
#351C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#351C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C76
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C76#FFFFFF#000000##FFFFFF
##351C761.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#1C3447
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351c76;
/* rgb */ color: rgb(53, 28, 118);
/* oklch */ color: oklch(32.3% 0.143 288.4);
Tailwind
colors: {
  custom: {
    50: '#745b9e',
    500: '#351c76',
    950: '#000000',
  },
}
SCSS
$custom: #351c76;
$custom-light: #745b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#351c76",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 256.667,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32291,
    "c": 0.14287,
    "h": 288.4
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#351C76
secondary
#8EAA44
accent
#E543B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351C76

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

Preview Lab → · Contrast checker → · Palette generator →

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