#351785#351785

#351785 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.166 H 285.4°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#351785
RGBrgb(53, 23, 133)
HSLhsl(256, 71%, 31%)
HSVhsv(256, 83%, 52%)
CMYKcmyk(60.2%, 82.7%, 0%, 47.8%)
CIE-LABlab(20.29, 42.72, -55.60)
CIE-LCHlch(20.29, 70.12, 307.54°)
OKLaboklab(33.23% 0.0443 -0.1602)
OKLCHoklch(33.23% 0.166 285.4)
XYZxyz(6.0069, 3.0628, 22.4604)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351785 #678517
analogous
#173085 #351785 #6C1785
triadic
#351785 #853517 #178535
tetradic
#351785 #851730 #678517 #17856C
square
#351785 #851730 #678517 #17856C
split-complementary
#351785 #856C17 #308517
monochromatic
#0B051D #200E51 #351785 #4A20B9 #663ADD

Accessibility & contrast

On white

13.02
#351785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#351785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351785
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351785#FFFFFF#000000##FFFFFF
##3517851.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#07384F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351785;
/* rgb */ color: rgb(53, 23, 133);
/* oklch */ color: oklch(33.2% 0.166 285.4);
Tailwind
colors: {
  custom: {
    50: '#7759aa',
    500: '#351785',
    950: '#000000',
  },
}
SCSS
$custom: #351785;
$custom-light: #7759aa;
$custom-dark: #000000;
JSON
{
  "hex": "#351785",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 256.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3323,
    "c": 0.16619,
    "h": 285.4
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#351785
secondary
#98B93F
accent
#ED3BBD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351785

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

Preview Lab → · Contrast checker → · Palette generator →

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