#351A91#351A91

#351A91 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.178 H 282.5°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#351A91
RGBrgb(53, 26, 145)
HSLhsl(254, 70%, 34%)
HSVhsv(254, 82%, 57%)
CMYKcmyk(63.4%, 82.1%, 0%, 43.1%)
CIE-LABlab(22.09, 44.88, -60.14)
CIE-LCHlch(22.09, 75.04, 306.74°)
OKLaboklab(34.86% 0.0384 -0.1735)
OKLCHoklch(34.86% 0.178 282.5)
XYZxyz(6.9468, 3.5395, 27.0997)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A91 #76911A
analogous
#1A3B91 #351A91 #701A91
triadic
#351A91 #91351A #1A9135
tetradic
#351A91 #911A3B #76911A #1A9170
square
#351A91 #911A3B #76911A #1A9170
split-complementary
#351A91 #91701A #3B911A
monochromatic
#0F0729 #22115D #351A91 #4823C5 #6A47DE

Accessibility & contrast

On white

12.30
#351A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#351A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A91
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A91#FFFFFF#000000##FFFFFF
##351A911.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#003E56
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351a91;
/* rgb */ color: rgb(53, 26, 145);
/* oklch */ color: oklch(34.9% 0.178 282.5);
Tailwind
colors: {
  custom: {
    50: '#795bb2',
    500: '#351a91',
    950: '#000000',
  },
}
SCSS
$custom: #351a91;
$custom-light: #795bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#351a91",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 253.613,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34863,
    "c": 0.17767,
    "h": 282.5
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#351A91
secondary
#A4C047
accent
#EC3BC4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351A91

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

Preview Lab → · Contrast checker → · Palette generator →

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