#351A96#351A96

#351A96 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.184 H 281.6°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#351A96
RGBrgb(53, 26, 150)
HSLhsl(253, 70%, 35%)
HSVhsv(253, 83%, 59%)
CMYKcmyk(64.7%, 82.7%, 0%, 41.2%)
CIE-LABlab(22.64, 46.36, -62.31)
CIE-LCHlch(22.64, 77.67, 306.65°)
OKLaboklab(35.41% 0.0368 -0.1798)
OKLCHoklch(35.41% 0.184 281.6)
XYZxyz(7.3409, 3.6971, 29.1750)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A96 #7B961A
analogous
#1A3D96 #351A96 #731A96
triadic
#351A96 #96351A #1A9635
tetradic
#351A96 #961A3D #7B961A #1A9673
square
#351A96 #961A3D #7B961A #1A9673
split-complementary
#351A96 #96731A #3D961A
monochromatic
#10082E #231162 #351A96 #4723CA #6B4BE0

Accessibility & contrast

On white

12.07
#351A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#351A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A96
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A96#FFFFFF#000000##FFFFFF
##351A961.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#004059
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #351a96;
/* rgb */ color: rgb(53, 26, 150);
/* oklch */ color: oklch(35.4% 0.184 281.6);
Tailwind
colors: {
  custom: {
    50: '#7a5cb6',
    500: '#351a96',
    950: '#000000',
  },
}
SCSS
$custom: #351a96;
$custom-light: #7a5cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#351a96",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 253.065,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35413,
    "c": 0.18351,
    "h": 281.6
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#351A96
secondary
#A8C24A
accent
#ED3BC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #351A96

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

Preview Lab → · Contrast checker → · Palette generator →

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