#351678#351678

#351678 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.152 H 289.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#351678
RGBrgb(53, 22, 120)
HSLhsl(259, 69%, 28%)
HSVhsv(259, 82%, 47%)
CMYKcmyk(55.8%, 81.7%, 0%, 52.9%)
CIE-LABlab(18.74, 39.38, -49.89)
CIE-LCHlch(18.74, 63.56, 308.29°)
OKLaboklab(31.74% 0.0494 -0.1435)
OKLCHoklch(31.74% 0.152 289)
XYZxyz(5.1443, 2.6865, 18.0131)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351678 #597816
analogous
#162878 #351678 #661678
triadic
#351678 #783516 #167835
tetradic
#351678 #781628 #597816 #167866
square
#351678 #781628 #597816 #167866
split-complementary
#351678 #786616 #287816
monochromatic
#0B051A #1E0D44 #351678 #4C1FAC #652FD9

Accessibility & contrast

On white

13.66
#351678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#351678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##351678#FFFFFF#000000##FFFFFF
##3516781.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)
#00307B
Deuteranopia (green-blind)
#002B76
Tritanopia (blue-blind)
#1A3247
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351678;
/* rgb */ color: rgb(53, 22, 120);
/* oklch */ color: oklch(31.7% 0.152 289.0);
Tailwind
colors: {
  custom: {
    50: '#7558a0',
    500: '#351678',
    950: '#000000',
  },
}
SCSS
$custom: #351678;
$custom-light: #7558a0;
$custom-dark: #000000;
JSON
{
  "hex": "#351678",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 258.98,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31737,
    "c": 0.15176,
    "h": 289
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#351678
secondary
#8AAD3C
accent
#EC3CB4
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09030F
muted
#7B787F

Preview Lab

Preview with #351678

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

Preview Lab → · Contrast checker → · Palette generator →

#351678 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva