#351B77#351B77

#351B77 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.145 H 288.3°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#351B77
RGBrgb(53, 27, 119)
HSLhsl(257, 63%, 29%)
HSVhsv(257, 77%, 47%)
CMYKcmyk(55.5%, 77.3%, 0%, 53.3%)
CIE-LABlab(19.53, 36.55, -47.96)
CIE-LCHlch(19.53, 60.30, 307.31°)
OKLaboklab(32.26% 0.0457 -0.1379)
OKLCHoklch(32.26% 0.145 288.3)
XYZxyz(5.1889, 2.8724, 17.7302)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B77 #5D771B
analogous
#1B2F77 #351B77 #631B77
triadic
#351B77 #77351B #1B7735
tetradic
#351B77 #771B2F #5D771B #1B7763
square
#351B77 #771B2F #5D771B #1B7763
split-complementary
#351B77 #77631B #2F771B
monochromatic
#0B0619 #1F1045 #351B77 #4B26A9 #653AD2

Accessibility & contrast

On white

13.34
#351B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#351B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B77
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B77#FFFFFF#000000##FFFFFF
##351B771.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#1B3447
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351b77;
/* rgb */ color: rgb(53, 27, 119);
/* oklch */ color: oklch(32.3% 0.145 288.3);
Tailwind
colors: {
  custom: {
    50: '#745a9f',
    500: '#351b77',
    950: '#000000',
  },
}
SCSS
$custom: #351b77;
$custom-light: #745a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#351b77",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 256.957,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32255,
    "c": 0.14527,
    "h": 288.3
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#351B77
secondary
#8EAB42
accent
#E642B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #351B77

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

Preview Lab → · Contrast checker → · Palette generator →

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