#351AA1#351AA1

#351AA1 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.196 H 279.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#351AA1
RGBrgb(53, 26, 161)
HSLhsl(252, 72%, 37%)
HSVhsv(252, 84%, 63%)
CMYKcmyk(67.1%, 83.9%, 0%, 36.9%)
CIE-LABlab(23.90, 49.58, -66.98)
CIE-LCHlch(23.90, 83.34, 306.51°)
OKLaboklab(36.64% 0.0331 -0.1934)
OKLCHoklch(36.64% 0.196 279.7)
XYZxyz(8.2686, 4.0682, 34.0608)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351AA1 #86A11A
analogous
#1A43A1 #351AA1 #791AA1
triadic
#351AA1 #A1351A #1AA135
tetradic
#351AA1 #A11A43 #86A11A #1AA179
square
#351AA1 #A11A43 #86A11A #1AA179
split-complementary
#351AA1 #A1791A #43A11A
monochromatic
#120938 #24116C #351AA1 #4623D6 #6F52E3

Accessibility & contrast

On white

11.58
#351AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#351AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351AA1
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351AA1#FFFFFF#000000##FFFFFF
##351AA11.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351aa1;
/* rgb */ color: rgb(53, 26, 161);
/* oklch */ color: oklch(36.6% 0.196 279.7);
Tailwind
colors: {
  custom: {
    50: '#7d5dbe',
    500: '#351aa1',
    950: '#000000',
  },
}
SCSS
$custom: #351aa1;
$custom-light: #7d5dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#351aa1",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 252,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36643,
    "c": 0.19619,
    "h": 279.7
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#351AA1
secondary
#AEC651
accent
#EF39CB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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