#351677#351677

#351677 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.151 H 289.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#351677
RGBrgb(53, 22, 119)
HSLhsl(259, 69%, 28%)
HSVhsv(259, 82%, 47%)
CMYKcmyk(55.5%, 81.5%, 0%, 53.3%)
CIE-LABlab(18.64, 39.09, -49.42)
CIE-LCHlch(18.64, 63.01, 308.34°)
OKLaboklab(31.63% 0.0497 -0.1421)
OKLCHoklch(31.63% 0.151 289.3)
XYZxyz(5.0839, 2.6624, 17.6952)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351677 #587716
analogous
#162877 #351677 #651677
triadic
#351677 #773516 #167735
tetradic
#351677 #771628 #587716 #167765
square
#351677 #771628 #587716 #167765
split-complementary
#351677 #776516 #287716
monochromatic
#0C051A #1E0C43 #351677 #4C20AB #652FD9

Accessibility & contrast

On white

13.70
#351677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#351677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351677
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351677#FFFFFF#000000##FFFFFF
##3516771.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#1B3246
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351677;
/* rgb */ color: rgb(53, 22, 119);
/* oklch */ color: oklch(31.6% 0.151 289.3);
Tailwind
colors: {
  custom: {
    50: '#75589f',
    500: '#351677',
    950: '#000000',
  },
}
SCSS
$custom: #351677;
$custom-light: #75589f;
$custom-dark: #000000;
JSON
{
  "hex": "#351677",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 259.175,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31633,
    "c": 0.15057,
    "h": 289.3
  },
  "luminance": 0.02663
}

Semantic roles & 50–950 ramp

primary
#351677
secondary
#89AC3C
accent
#EC3CB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #351677

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

Preview Lab → · Contrast checker → · Palette generator →

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