#351879#351879

#351879 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.151 H 288.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#351879
RGBrgb(53, 24, 121)
HSLhsl(258, 67%, 28%)
HSVhsv(258, 80%, 47%)
CMYKcmyk(56.2%, 80.2%, 0%, 52.5%)
CIE-LABlab(19.18, 38.70, -49.81)
CIE-LCHlch(19.18, 63.08, 307.85°)
OKLaboklab(32.08% 0.0475 -0.1433)
OKLCHoklch(32.08% 0.151 288.3)
XYZxyz(5.2450, 2.7904, 18.3477)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351879 #5C7918
analogous
#182B79 #351879 #651879
triadic
#351879 #793518 #187935
tetradic
#351879 #79182B #5C7918 #187965
square
#351879 #79182B #5C7918 #187965
split-complementary
#351879 #796518 #2B7918
monochromatic
#0B051A #1F0E46 #351879 #4B22AC #6535D7

Accessibility & contrast

On white

13.48
#351879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351879
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351879#FFFFFF#000000##FFFFFF
##3518791.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#193448
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351879;
/* rgb */ color: rgb(53, 24, 121);
/* oklch */ color: oklch(32.1% 0.151 288.3);
Tailwind
colors: {
  custom: {
    50: '#7559a1',
    500: '#351879',
    950: '#000000',
  },
}
SCSS
$custom: #351879;
$custom-light: #7559a1;
$custom-dark: #000000;
JSON
{
  "hex": "#351879",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 257.938,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32077,
    "c": 0.15095,
    "h": 288.3
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#351879
secondary
#8DAE3F
accent
#EA3EB6
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351879

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

Preview Lab → · Contrast checker → · Palette generator →

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