#351C71#351C71

#351C71 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.137 H 289.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#351C71
RGBrgb(53, 28, 113)
HSLhsl(258, 60%, 28%)
HSVhsv(258, 75%, 44%)
CMYKcmyk(53.1%, 75.2%, 0%, 55.7%)
CIE-LABlab(19.14, 34.17, -44.74)
CIE-LCHlch(19.14, 56.29, 307.37°)
OKLaboklab(31.8% 0.0463 -0.1285)
OKLCHoklch(31.8% 0.137 289.8)
XYZxyz(4.8632, 2.7794, 15.8998)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C71 #58711C
analogous
#1C2D71 #351C71 #5F1C71
triadic
#351C71 #71351C #1C7135
tetradic
#351C71 #711C2D #58711C #1C715F
square
#351C71 #711C2D #58711C #1C715F
split-complementary
#351C71 #715F1C #2D711C
monochromatic
#0C0619 #1E1040 #351C71 #4C28A2 #6539CE

Accessibility & contrast

On white

13.50
#351C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#351C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C71
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C71#FFFFFF#000000##FFFFFF
##351C711.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#203244
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351c71;
/* rgb */ color: rgb(53, 28, 113);
/* oklch */ color: oklch(31.8% 0.137 289.8);
Tailwind
colors: {
  custom: {
    50: '#735b9b',
    500: '#351c71',
    950: '#000000',
  },
}
SCSS
$custom: #351c71;
$custom-light: #735b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#351c71",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 257.647,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31803,
    "c": 0.13653,
    "h": 289.8
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#351C71
secondary
#89A643
accent
#E344B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351C71

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

Preview Lab → · Contrast checker → · Palette generator →

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