#351B76#351B76

#351B76 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.144 H 288.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#351B76
RGBrgb(53, 27, 118)
HSLhsl(257, 63%, 28%)
HSVhsv(257, 77%, 46%)
CMYKcmyk(55.1%, 77.1%, 0%, 53.7%)
CIE-LABlab(19.43, 36.25, -47.48)
CIE-LCHlch(19.43, 59.74, 307.36°)
OKLaboklab(32.16% 0.0459 -0.1365)
OKLCHoklch(32.16% 0.144 288.6)
XYZxyz(5.1292, 2.8485, 17.4156)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B76 #5C761B
analogous
#1B2E76 #351B76 #621B76
triadic
#351B76 #76351B #1B7635
tetradic
#351B76 #761B2E #5C761B #1B7662
square
#351B76 #761B2E #5C761B #1B7662
split-complementary
#351B76 #76621B #2E761B
monochromatic
#0B0619 #1F1044 #351B76 #4B26A8 #653AD2

Accessibility & contrast

On white

13.38
#351B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351B76
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B76#FFFFFF#000000##FFFFFF
##351B761.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#1C3447
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351b76;
/* rgb */ color: rgb(53, 27, 118);
/* oklch */ color: oklch(32.2% 0.144 288.6);
Tailwind
colors: {
  custom: {
    50: '#745a9e',
    500: '#351b76',
    950: '#000000',
  },
}
SCSS
$custom: #351b76;
$custom-light: #745a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#351b76",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 257.143,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32155,
    "c": 0.14402,
    "h": 288.6
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#351B76
secondary
#8DAA42
accent
#E642B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351B76

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

Preview Lab → · Contrast checker → · Palette generator →

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