#351777#351777

#351777 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.150 H 289.1°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#351777
RGBrgb(53, 23, 119)
HSLhsl(259, 68%, 28%)
HSVhsv(259, 81%, 47%)
CMYKcmyk(55.5%, 80.7%, 0%, 53.3%)
CIE-LABlab(18.81, 38.61, -49.15)
CIE-LCHlch(18.81, 62.50, 308.15°)
OKLaboklab(31.75% 0.0489 -0.1413)
OKLCHoklch(31.75% 0.15 289.1)
XYZxyz(5.1034, 2.7013, 17.7017)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351777 #597717
analogous
#172977 #351777 #651777
triadic
#351777 #773517 #177735
tetradic
#351777 #771729 #597717 #177765
square
#351777 #771729 #597717 #177765
split-complementary
#351777 #776517 #297717
monochromatic
#0B051A #1E0D44 #351777 #4C21AA #6531D7

Accessibility & contrast

On white

13.63
#351777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351777
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351777#FFFFFF#000000##FFFFFF
##3517771.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#1B3247
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351777;
/* rgb */ color: rgb(53, 23, 119);
/* oklch */ color: oklch(31.8% 0.150 289.1);
Tailwind
colors: {
  custom: {
    50: '#75589f',
    500: '#351777',
    950: '#000000',
  },
}
SCSS
$custom: #351777;
$custom-light: #75589f;
$custom-dark: #000000;
JSON
{
  "hex": "#351777",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 258.75,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3175,
    "c": 0.14957,
    "h": 289.1
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#351777
secondary
#8AAC3E
accent
#EA3DB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #351777

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

Preview Lab → · Contrast checker → · Palette generator →

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