#351977#351977

#351977 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.147 H 288.7°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#351977
RGBrgb(53, 25, 119)
HSLhsl(258, 65%, 28%)
HSVhsv(258, 79%, 47%)
CMYKcmyk(55.5%, 79%, 0%, 53.3%)
CIE-LABlab(19.16, 37.60, -48.57)
CIE-LCHlch(19.16, 61.42, 307.75°)
OKLaboklab(32% 0.0473 -0.1397)
OKLCHoklch(32% 0.147 288.7)
XYZxyz(5.1446, 2.7838, 17.7154)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351977 #5B7719
analogous
#192C77 #351977 #641977
triadic
#351977 #773519 #197735
tetradic
#351977 #77192C #5B7719 #197764
square
#351977 #77192C #5B7719 #197764
split-complementary
#351977 #776419 #2C7719
monochromatic
#0B0519 #1E0E44 #351977 #4C24AA #6536D5

Accessibility & contrast

On white

13.49
#351977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#351977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351977
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351977#FFFFFF#000000##FFFFFF
##3519771.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351977;
/* rgb */ color: rgb(53, 25, 119);
/* oklch */ color: oklch(32.0% 0.147 288.7);
Tailwind
colors: {
  custom: {
    50: '#74599f',
    500: '#351977',
    950: '#000000',
  },
}
SCSS
$custom: #351977;
$custom-light: #74599f;
$custom-dark: #000000;
JSON
{
  "hex": "#351977",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 257.872,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31995,
    "c": 0.14747,
    "h": 288.7
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#351977
secondary
#8CAC40
accent
#E840B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #351977

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

Preview Lab → · Contrast checker → · Palette generator →

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