#351BA7#351BA7

#351BA7 is a dark, highly saturated violet. Relative luminance 0.043; OKLCH L 37.4% C 0.202 H 278.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#351BA7
RGBrgb(53, 27, 167)
HSLhsl(251, 72%, 38%)
HSVhsv(251, 84%, 65%)
CMYKcmyk(68.3%, 83.8%, 0%, 34.5%)
CIE-LABlab(24.73, 50.90, -69.24)
CIE-LCHlch(24.73, 85.93, 306.32°)
OKLaboklab(37.42% 0.0307 -0.1999)
OKLCHoklch(37.42% 0.202 278.7)
XYZxyz(8.8329, 4.3300, 36.9220)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351BA7 #8DA71B
analogous
#1B47A7 #351BA7 #7B1BA7
triadic
#351BA7 #A7351B #1BA735
tetradic
#351BA7 #A71B47 #8DA71B #1BA77B
square
#351BA7 #A71B47 #8DA71B #1BA77B
split-complementary
#351BA7 #A77B1B #47A71B
monochromatic
#140A3E #241272 #351BA7 #4624DC #7258E4

Accessibility & contrast

On white

11.25
#351BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#351BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351BA7
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351BA7#FFFFFF#000000##FFFFFF
##351BA71.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0035A5
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #351ba7;
/* rgb */ color: rgb(53, 27, 167);
/* oklch */ color: oklch(37.4% 0.202 278.7);
Tailwind
colors: {
  custom: {
    50: '#7e5ec3',
    500: '#351ba7',
    950: '#000000',
  },
}
SCSS
$custom: #351ba7;
$custom-light: #7e5ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#351ba7",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 167
  },
  "hsl": {
    "h": 251.143,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37421,
    "c": 0.20228,
    "h": 278.7
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#351BA7
secondary
#B2C856
accent
#EF39CD
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #351BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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