#351E71#351E71

#351E71 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.134 H 289.3°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#351E71
RGBrgb(53, 30, 113)
HSLhsl(257, 58%, 28%)
HSVhsv(257, 73%, 44%)
CMYKcmyk(53.1%, 73.5%, 0%, 55.7%)
CIE-LABlab(19.55, 33.03, -44.07)
CIE-LCHlch(19.55, 55.07, 306.85°)
OKLaboklab(32.09% 0.0443 -0.1265)
OKLCHoklch(32.09% 0.134 289.3)
XYZxyz(4.9122, 2.8775, 15.9162)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E71 #5A711E
analogous
#1E3071 #351E71 #5E1E71
triadic
#351E71 #71351E #1E7135
tetradic
#351E71 #711E30 #5A711E #1E715E
square
#351E71 #711E30 #5A711E #1E715E
split-complementary
#351E71 #715E1E #30711E
monochromatic
#0B0618 #1E1141 #351E71 #4C2BA1 #653ECC

Accessibility & contrast

On white

13.33
#351E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#351E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E71
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E71#FFFFFF#000000##FFFFFF
##351E711.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#203345
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351e71;
/* rgb */ color: rgb(53, 30, 113);
/* oklch */ color: oklch(32.1% 0.134 289.3);
Tailwind
colors: {
  custom: {
    50: '#735c9b',
    500: '#351e71',
    950: '#000000',
  },
}
SCSS
$custom: #351e71;
$custom-light: #735c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#351e71",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 256.627,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32093,
    "c": 0.13404,
    "h": 289.3
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#351E71
secondary
#8BA546
accent
#E147B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351E71

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

Preview Lab → · Contrast checker → · Palette generator →

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