#351AB4#351AB4

#351AB4 is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.8% C 0.218 H 277.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#351AB4
RGBrgb(53, 26, 180)
HSLhsl(251, 75%, 40%)
HSVhsv(251, 86%, 71%)
CMYKcmyk(70.6%, 85.6%, 0%, 29.4%)
CIE-LABlab(26.13, 55.03, -74.74)
CIE-LCHlch(26.13, 92.81, 306.36°)
OKLaboklab(38.82% 0.0268 -0.2159)
OKLCHoklch(38.82% 0.218 277.1)
XYZxyz(10.0731, 4.7900, 43.5649)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351AB4 #99B41A
analogous
#1A4CB4 #351AB4 #821AB4
triadic
#351AB4 #B4351A #1AB435
tetradic
#351AB4 #B41A4C #99B41A #1AB482
square
#351AB4 #B41A4C #99B41A #1AB482
split-complementary
#351AB4 #B4821A #4CB41A
monochromatic
#160B49 #25127F #351AB4 #4B2BE0 #7860E8

Accessibility & contrast

On white

10.72
#351AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#351AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351AB4
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351AB4#FFFFFF#000000##FFFFFF
##351AB41.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #351ab4;
/* rgb */ color: rgb(53, 26, 180);
/* oklch */ color: oklch(38.8% 0.218 277.1);
Tailwind
colors: {
  custom: {
    50: '#815ecc',
    500: '#351ab4',
    950: '#000000',
  },
}
SCSS
$custom: #351ab4;
$custom-light: #815ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#351ab4",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 250.519,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38819,
    "c": 0.21756,
    "h": 277.1
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#351AB4
secondary
#B9CC5D
accent
#F136D1
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #351AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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