#351A71#351A71

#351A71 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.139 H 290.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#351A71
RGBrgb(53, 26, 113)
HSLhsl(259, 63%, 27%)
HSVhsv(259, 77%, 44%)
CMYKcmyk(53.1%, 77%, 0%, 55.7%)
CIE-LABlab(18.75, 35.27, -45.38)
CIE-LCHlch(18.75, 57.47, 307.85°)
OKLaboklab(31.53% 0.0481 -0.1303)
OKLCHoklch(31.53% 0.139 290.3)
XYZxyz(4.8174, 2.6877, 15.8845)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A71 #56711A
analogous
#1A2A71 #351A71 #611A71
triadic
#351A71 #71351A #1A7135
tetradic
#351A71 #711A2A #56711A #1A7161
square
#351A71 #711A2A #56711A #1A7161
split-complementary
#351A71 #71611A #2A711A
monochromatic
#0C0619 #1E0F3F #351A71 #4C25A3 #6535D0

Accessibility & contrast

On white

13.66
#351A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#351A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A71
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A71#FFFFFF#000000##FFFFFF
##351A711.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#203144
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351a71;
/* rgb */ color: rgb(53, 26, 113);
/* oklch */ color: oklch(31.5% 0.139 290.3);
Tailwind
colors: {
  custom: {
    50: '#73599b',
    500: '#351a71',
    950: '#000000',
  },
}
SCSS
$custom: #351a71;
$custom-light: #73599b;
$custom-dark: #000000;
JSON
{
  "hex": "#351a71",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 258.621,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31526,
    "c": 0.13892,
    "h": 290.3
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#351A71
secondary
#87A641
accent
#E642B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351A71

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

Preview Lab → · Contrast checker → · Palette generator →

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