#351AA0#351AA0

#351AA0 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.5% C 0.195 H 279.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#351AA0
RGBrgb(53, 26, 160)
HSLhsl(252, 72%, 36%)
HSVhsv(252, 84%, 63%)
CMYKcmyk(66.9%, 83.8%, 0%, 37.3%)
CIE-LABlab(23.78, 49.29, -66.56)
CIE-LCHlch(23.78, 82.83, 306.52°)
OKLaboklab(36.53% 0.0334 -0.1922)
OKLCHoklch(36.53% 0.195 279.9)
XYZxyz(8.1807, 4.0331, 33.5982)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351AA0 #85A01A
analogous
#1A42A0 #351AA0 #781AA0
triadic
#351AA0 #A0351A #1AA035
tetradic
#351AA0 #A01A42 #85A01A #1AA078
square
#351AA0 #A01A42 #85A01A #1AA078
split-complementary
#351AA0 #A0781A #42A01A
monochromatic
#120937 #24116B #351AA0 #4623D5 #6F52E3

Accessibility & contrast

On white

11.62
#351AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351AA0
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351AA0#FFFFFF#000000##FFFFFF
##351AA01.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351aa0;
/* rgb */ color: rgb(53, 26, 160);
/* oklch */ color: oklch(36.5% 0.195 279.9);
Tailwind
colors: {
  custom: {
    50: '#7c5dbd',
    500: '#351aa0',
    950: '#000000',
  },
}
SCSS
$custom: #351aa0;
$custom-light: #7c5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#351aa0",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 252.09,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3653,
    "c": 0.19505,
    "h": 279.9
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#351AA0
secondary
#AEC550
accent
#EF39CA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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