#351571#351571

#351571 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.144 H 291.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#351571
RGBrgb(53, 21, 113)
HSLhsl(261, 69%, 26%)
HSVhsv(261, 81%, 44%)
CMYKcmyk(53.1%, 81.4%, 0%, 55.7%)
CIE-LABlab(17.85, 37.82, -46.85)
CIE-LCHlch(17.85, 60.21, 308.92°)
OKLaboklab(30.9% 0.0524 -0.1346)
OKLCHoklch(30.9% 0.144 291.3)
XYZxyz(4.7162, 2.4853, 15.8508)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351571 #517115
analogous
#152371 #351571 #631571
triadic
#351571 #713515 #157135
tetradic
#351571 #711523 #517115 #157163
square
#351571 #711523 #517115 #157163
split-complementary
#351571 #716315 #237115
monochromatic
#0C051A #1D0B3D #351571 #4D1FA5 #6629D7

Accessibility & contrast

On white

14.03
#351571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#351571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351571
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351571#FFFFFF#000000##FFFFFF
##3515711.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#202F43
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351571;
/* rgb */ color: rgb(53, 21, 113);
/* oklch */ color: oklch(30.9% 0.144 291.3);
Tailwind
colors: {
  custom: {
    50: '#74579b',
    500: '#351571',
    950: '#000000',
  },
}
SCSS
$custom: #351571;
$custom-light: #74579b;
$custom-dark: #000000;
JSON
{
  "hex": "#351571",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 260.87,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30898,
    "c": 0.14443,
    "h": 291.3
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#351571
secondary
#81A73B
accent
#EB3CAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351571

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

Preview Lab → · Contrast checker → · Palette generator →

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