#351A76#351A76

#351A76 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.145 H 288.8°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#351A76
RGBrgb(53, 26, 118)
HSLhsl(258, 64%, 28%)
HSVhsv(258, 78%, 46%)
CMYKcmyk(55.1%, 78%, 0%, 53.7%)
CIE-LABlab(19.24, 36.78, -47.79)
CIE-LCHlch(19.24, 60.31, 307.58°)
OKLaboklab(32.02% 0.0468 -0.1374)
OKLCHoklch(32.02% 0.145 288.8)
XYZxyz(5.1067, 2.8034, 17.4081)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A76 #5B761A
analogous
#1A2D76 #351A76 #631A76
triadic
#351A76 #76351A #1A7635
tetradic
#351A76 #761A2D #5B761A #1A7663
square
#351A76 #761A2D #5B761A #1A7663
split-complementary
#351A76 #76631A #2D761A
monochromatic
#0B0619 #1E0F44 #351A76 #4C25A8 #6537D3

Accessibility & contrast

On white

13.45
#351A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#351A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A76
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A76#FFFFFF#000000##FFFFFF
##351A761.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351a76;
/* rgb */ color: rgb(53, 26, 118);
/* oklch */ color: oklch(32.0% 0.145 288.8);
Tailwind
colors: {
  custom: {
    50: '#745a9e',
    500: '#351a76',
    950: '#000000',
  },
}
SCSS
$custom: #351a76;
$custom-light: #745a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#351a76",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 257.609,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32023,
    "c": 0.14514,
    "h": 288.8
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#351A76
secondary
#8CAB41
accent
#E741B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351A76

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

Preview Lab → · Contrast checker → · Palette generator →

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