#351578#351578

#351578 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.153 H 289.1°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#351578
RGBrgb(53, 21, 120)
HSLhsl(259, 70%, 28%)
HSVhsv(259, 83%, 47%)
CMYKcmyk(55.8%, 82.5%, 0%, 52.9%)
CIE-LABlab(18.58, 39.85, -50.16)
CIE-LCHlch(18.58, 64.06, 308.47°)
OKLaboklab(31.62% 0.0501 -0.1443)
OKLCHoklch(31.62% 0.153 289.1)
XYZxyz(5.1255, 2.6490, 18.0069)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351578 #587815
analogous
#152678 #351578 #661578
triadic
#351578 #783515 #157835
tetradic
#351578 #781526 #587815 #157866
square
#351578 #781526 #587815 #157866
split-complementary
#351578 #786615 #267815
monochromatic
#0C051A #1E0C44 #351578 #4C1EAC #652DDA

Accessibility & contrast

On white

13.73
#351578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#351578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351578
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351578#FFFFFF#000000##FFFFFF
##3515781.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002B76
Tritanopia (blue-blind)
#1A3247
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351578;
/* rgb */ color: rgb(53, 21, 120);
/* oklch */ color: oklch(31.6% 0.153 289.1);
Tailwind
colors: {
  custom: {
    50: '#7557a0',
    500: '#351578',
    950: '#000000',
  },
}
SCSS
$custom: #351578;
$custom-light: #7557a0;
$custom-dark: #000000;
JSON
{
  "hex": "#351578",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 259.394,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31624,
    "c": 0.15272,
    "h": 289.1
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#351578
secondary
#89AE3B
accent
#ED3BB3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09030F
muted
#7B787F

Preview Lab

Preview with #351578

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

Preview Lab → · Contrast checker → · Palette generator →

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