#351CA1#351CA1

#351CA1 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.195 H 279.5°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#351CA1
RGBrgb(53, 28, 161)
HSLhsl(251, 70%, 37%)
HSVhsv(251, 83%, 63%)
CMYKcmyk(67.1%, 82.6%, 0%, 36.9%)
CIE-LABlab(24.19, 48.71, -66.49)
CIE-LCHlch(24.19, 82.42, 306.23°)
OKLaboklab(36.85% 0.0322 -0.192)
OKLCHoklch(36.85% 0.195 279.5)
XYZxyz(8.3144, 4.1599, 34.0761)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351CA1 #88A11C
analogous
#1C46A1 #351CA1 #781CA1
triadic
#351CA1 #A1351C #1CA135
tetradic
#351CA1 #A11C46 #88A11C #1CA178
square
#351CA1 #A11C46 #88A11C #1CA178
split-complementary
#351CA1 #A1781C #46A11C
monochromatic
#130A39 #24136D #351CA1 #4625D5 #7056E2

Accessibility & contrast

On white

11.46
#351CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#351CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351CA1
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351CA1#FFFFFF#000000##FFFFFF
##351CA11.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00349F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351ca1;
/* rgb */ color: rgb(53, 28, 161);
/* oklch */ color: oklch(36.8% 0.195 279.5);
Tailwind
colors: {
  custom: {
    50: '#7c5ebe',
    500: '#351ca1',
    950: '#000000',
  },
}
SCSS
$custom: #351ca1;
$custom-light: #7c5ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#351ca1",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 251.278,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36847,
    "c": 0.19466,
    "h": 279.5
  },
  "luminance": 0.04161
}

Semantic roles & 50–950 ramp

primary
#351CA1
secondary
#B0C554
accent
#ED3BCC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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