#351580#351580

#351580 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.162 H 287.0°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#351580
RGBrgb(53, 21, 128)
HSLhsl(258, 72%, 29%)
HSVhsv(258, 84%, 50%)
CMYKcmyk(58.6%, 83.6%, 0%, 49.8%)
CIE-LABlab(19.44, 42.17, -53.85)
CIE-LCHlch(19.44, 68.39, 308.07°)
OKLaboklab(32.48% 0.0473 -0.155)
OKLCHoklch(32.48% 0.162 287)
XYZxyz(5.6315, 2.8514, 20.6715)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351580 #608015
analogous
#152B80 #351580 #6B1580
triadic
#351580 #803515 #158035
tetradic
#351580 #80152B #608015 #15806B
square
#351580 #80152B #608015 #15806B
split-complementary
#351580 #806B15 #2B8015
monochromatic
#0B041A #1F0C4B #351580 #4B1EB5 #6532DD

Accessibility & contrast

On white

13.37
#351580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#351580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351580
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351580#FFFFFF#000000##FFFFFF
##3515801.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#11354B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351580;
/* rgb */ color: rgb(53, 21, 128);
/* oklch */ color: oklch(32.5% 0.162 287.0);
Tailwind
colors: {
  custom: {
    50: '#7658a6',
    500: '#351580',
    950: '#000000',
  },
}
SCSS
$custom: #351580;
$custom-light: #7658a6;
$custom-dark: #000000;
JSON
{
  "hex": "#351580",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 257.944,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32477,
    "c": 0.1621,
    "h": 287
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#351580
secondary
#91B53C
accent
#EF39B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #351580

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

Preview Lab → · Contrast checker → · Palette generator →

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