#351679#351679

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

Color values

HEX#351679
RGBrgb(53, 22, 121)
HSLhsl(259, 69%, 28%)
HSVhsv(259, 82%, 47%)
CMYKcmyk(56.2%, 81.8%, 0%, 52.5%)
CIE-LABlab(18.85, 39.68, -50.36)
CIE-LCHlch(18.85, 64.11, 308.23°)
OKLaboklab(31.84% 0.049 -0.1449)
OKLCHoklch(31.84% 0.153 288.7)
XYZxyz(5.2053, 2.7109, 18.3344)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351679 #5A7916
analogous
#162879 #351679 #661679
triadic
#351679 #793516 #167935
tetradic
#351679 #791628 #5A7916 #167966
square
#351679 #791628 #5A7916 #167966
split-complementary
#351679 #796616 #287916
monochromatic
#0B051A #1E0D45 #351679 #4C1FAD #6530D9

Accessibility & contrast

On white

13.62
#351679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351679
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351679#FFFFFF#000000##FFFFFF
##3516791.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351679;
/* rgb */ color: rgb(53, 22, 121);
/* oklch */ color: oklch(31.8% 0.153 288.7);
Tailwind
colors: {
  custom: {
    50: '#7558a1',
    500: '#351679',
    950: '#000000',
  },
}
SCSS
$custom: #351679;
$custom-light: #7558a1;
$custom-dark: #000000;
JSON
{
  "hex": "#351679",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 258.788,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31842,
    "c": 0.15295,
    "h": 288.7
  },
  "luminance": 0.02711
}

Semantic roles & 50–950 ramp

primary
#351679
secondary
#8BAE3D
accent
#EC3CB5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09030F
muted
#7B787F

Preview Lab

Preview with #351679

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

Preview Lab → · Contrast checker → · Palette generator →

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