#351BA1#351BA1

#351BA1 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.195 H 279.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#351BA1
RGBrgb(53, 27, 161)
HSLhsl(252, 71%, 37%)
HSVhsv(252, 83%, 63%)
CMYKcmyk(67.1%, 83.2%, 0%, 36.9%)
CIE-LABlab(24.04, 49.15, -66.74)
CIE-LCHlch(24.04, 82.88, 306.37°)
OKLaboklab(36.74% 0.0327 -0.1927)
OKLCHoklch(36.74% 0.195 279.6)
XYZxyz(8.2911, 4.1133, 34.0683)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351BA1 #87A11B
analogous
#1B44A1 #351BA1 #781BA1
triadic
#351BA1 #A1351B #1BA135
tetradic
#351BA1 #A11B44 #87A11B #1BA178
square
#351BA1 #A11B44 #87A11B #1BA178
split-complementary
#351BA1 #A1781B #44A11B
monochromatic
#120938 #24126D #351BA1 #4624D5 #7054E2

Accessibility & contrast

On white

11.52
#351BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#351BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351BA1
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351BA1#FFFFFF#000000##FFFFFF
##351BA11.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351ba1;
/* rgb */ color: rgb(53, 27, 161);
/* oklch */ color: oklch(36.7% 0.195 279.6);
Tailwind
colors: {
  custom: {
    50: '#7d5dbe',
    500: '#351ba1',
    950: '#000000',
  },
}
SCSS
$custom: #351ba1;
$custom-light: #7d5dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#351ba1",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 251.642,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36744,
    "c": 0.19544,
    "h": 279.6
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#351BA1
secondary
#AFC552
accent
#EE3ACB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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