#351A97#351A97

#351A97 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.185 H 281.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#351A97
RGBrgb(53, 26, 151)
HSLhsl(253, 71%, 35%)
HSVhsv(253, 83%, 59%)
CMYKcmyk(64.9%, 82.8%, 0%, 40.8%)
CIE-LABlab(22.76, 46.66, -62.74)
CIE-LCHlch(22.76, 78.19, 306.64°)
OKLaboklab(35.52% 0.0365 -0.181)
OKLCHoklch(35.52% 0.185 281.4)
XYZxyz(7.4217, 3.7295, 29.6009)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A97 #7C971A
analogous
#1A3E97 #351A97 #741A97
triadic
#351A97 #97351A #1A9735
tetradic
#351A97 #971A3E #7C971A #1A9774
square
#351A97 #971A3E #7C971A #1A9774
split-complementary
#351A97 #97741A #3E971A
monochromatic
#10082F #231163 #351A97 #4723CB #6B4BE0

Accessibility & contrast

On white

12.03
#351A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#351A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A97
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A97#FFFFFF#000000##FFFFFF
##351A971.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9A
Deuteranopia (green-blind)
#003295
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #351a97;
/* rgb */ color: rgb(53, 26, 151);
/* oklch */ color: oklch(35.5% 0.185 281.4);
Tailwind
colors: {
  custom: {
    50: '#7b5cb7',
    500: '#351a97',
    950: '#000000',
  },
}
SCSS
$custom: #351a97;
$custom-light: #7b5cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#351a97",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 252.96,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35523,
    "c": 0.18467,
    "h": 281.4
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#351A97
secondary
#A8C24B
accent
#ED3AC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #351A97

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

Preview Lab → · Contrast checker → · Palette generator →

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