#351877#351877

#351877 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.149 H 288.9°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#351877
RGBrgb(53, 24, 119)
HSLhsl(258, 66%, 28%)
HSVhsv(258, 80%, 47%)
CMYKcmyk(55.5%, 79.8%, 0%, 53.3%)
CIE-LABlab(18.98, 38.11, -48.86)
CIE-LCHlch(18.98, 61.97, 307.95°)
OKLaboklab(31.87% 0.0481 -0.1405)
OKLCHoklch(31.87% 0.149 288.9)
XYZxyz(5.1236, 2.7418, 17.7084)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351877 #5A7718
analogous
#182A77 #351877 #641877
triadic
#351877 #773518 #187735
tetradic
#351877 #77182A #5A7718 #187764
square
#351877 #77182A #5A7718 #187764
split-complementary
#351877 #776418 #2A7718
monochromatic
#0B0519 #1E0E44 #351877 #4C22AA #6533D6

Accessibility & contrast

On white

13.56
#351877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#351877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351877
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351877#FFFFFF#000000##FFFFFF
##3518771.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.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: #351877;
/* rgb */ color: rgb(53, 24, 119);
/* oklch */ color: oklch(31.9% 0.149 288.9);
Tailwind
colors: {
  custom: {
    50: '#75599f',
    500: '#351877',
    950: '#000000',
  },
}
SCSS
$custom: #351877;
$custom-light: #75599f;
$custom-dark: #000000;
JSON
{
  "hex": "#351877",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 258.316,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31871,
    "c": 0.14852,
    "h": 288.9
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#351877
secondary
#8BAC3F
accent
#E93EB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #351877

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

Preview Lab → · Contrast checker → · Palette generator →

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