#351771#351771

#351771 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.142 H 290.9°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#351771
RGBrgb(53, 23, 113)
HSLhsl(260, 66%, 27%)
HSVhsv(260, 80%, 44%)
CMYKcmyk(53.1%, 79.6%, 0%, 55.7%)
CIE-LABlab(18.20, 36.83, -46.28)
CIE-LCHlch(18.20, 59.15, 308.52°)
OKLaboklab(31.14% 0.0508 -0.133)
OKLCHoklch(31.14% 0.142 290.9)
XYZxyz(4.7544, 2.5617, 15.8635)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351771 #537117
analogous
#172671 #351771 #621771
triadic
#351771 #713517 #177135
tetradic
#351771 #711726 #537117 #177162
square
#351771 #711726 #537117 #177162
split-complementary
#351771 #716217 #267117
monochromatic
#0C0519 #1D0D3E #351771 #4D21A4 #652ED4

Accessibility & contrast

On white

13.89
#351771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#351771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351771
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351771#FFFFFF#000000##FFFFFF
##3517711.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#203043
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351771;
/* rgb */ color: rgb(53, 23, 113);
/* oklch */ color: oklch(31.1% 0.142 290.9);
Tailwind
colors: {
  custom: {
    50: '#74589b',
    500: '#351771',
    950: '#000000',
  },
}
SCSS
$custom: #351771;
$custom-light: #74589b;
$custom-dark: #000000;
JSON
{
  "hex": "#351771",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 260,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31138,
    "c": 0.14231,
    "h": 290.9
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#351771
secondary
#83A73D
accent
#E93FB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351771

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

Preview Lab → · Contrast checker → · Palette generator →

#351771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva