#351AB3#351AB3

#351AB3 is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.7% C 0.216 H 277.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#351AB3
RGBrgb(53, 26, 179)
HSLhsl(251, 75%, 40%)
HSVhsv(251, 85%, 70%)
CMYKcmyk(70.4%, 85.5%, 0%, 29.8%)
CIE-LABlab(26.01, 54.75, -74.34)
CIE-LCHlch(26.01, 92.32, 306.37°)
OKLaboklab(38.7% 0.0271 -0.2147)
OKLCHoklch(38.7% 0.216 277.2)
XYZxyz(9.9716, 4.7494, 43.0303)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351AB3 #98B31A
analogous
#1A4CB3 #351AB3 #811AB3
triadic
#351AB3 #B3351A #1AB335
tetradic
#351AB3 #B31A4C #98B31A #1AB381
square
#351AB3 #B31A4C #98B31A #1AB381
split-complementary
#351AB3 #B3811A #4CB31A
monochromatic
#150A48 #25127E #351AB3 #4A2AE0 #7860E8

Accessibility & contrast

On white

10.77
#351AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#351AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351AB3
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351AB3#FFFFFF#000000##FFFFFF
##351AB31.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0037B0
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #351ab3;
/* rgb */ color: rgb(53, 26, 179);
/* oklch */ color: oklch(38.7% 0.216 277.2);
Tailwind
colors: {
  custom: {
    50: '#805ecb',
    500: '#351ab3',
    950: '#000000',
  },
}
SCSS
$custom: #351ab3;
$custom-light: #805ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#351ab3",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 250.588,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38703,
    "c": 0.21645,
    "h": 277.2
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#351AB3
secondary
#B8CC5D
accent
#F137D0
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #351AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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