#351779#351779

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

Color values

HEX#351779
RGBrgb(53, 23, 121)
HSLhsl(258, 68%, 28%)
HSVhsv(258, 81%, 47%)
CMYKcmyk(56.2%, 81%, 0%, 52.5%)
CIE-LABlab(19.01, 39.20, -50.09)
CIE-LCHlch(19.01, 63.60, 308.04°)
OKLaboklab(31.96% 0.0483 -0.1441)
OKLCHoklch(31.96% 0.152 288.5)
XYZxyz(5.2248, 2.7499, 18.3409)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351779 #5B7917
analogous
#172A79 #351779 #661779
triadic
#351779 #793517 #177935
tetradic
#351779 #79172A #5B7917 #177966
square
#351779 #79172A #5B7917 #177966
split-complementary
#351779 #796617 #2A7917
monochromatic
#0B051A #1E0D46 #351779 #4C21AC #6532D8

Accessibility & contrast

On white

13.55
#351779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351779
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351779#FFFFFF#000000##FFFFFF
##3517791.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#193348
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351779;
/* rgb */ color: rgb(53, 23, 121);
/* oklch */ color: oklch(32.0% 0.152 288.5);
Tailwind
colors: {
  custom: {
    50: '#7558a1',
    500: '#351779',
    950: '#000000',
  },
}
SCSS
$custom: #351779;
$custom-light: #7558a1;
$custom-dark: #000000;
JSON
{
  "hex": "#351779",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 258.367,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31957,
    "c": 0.15196,
    "h": 288.5
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#351779
secondary
#8CAE3E
accent
#EB3DB6
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09030F
muted
#7B787F

Preview Lab

Preview with #351779

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

Preview Lab → · Contrast checker → · Palette generator →

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