#351E85#351E85

#351E85 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.159 H 284.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#351E85
RGBrgb(53, 30, 133)
HSLhsl(253, 63%, 32%)
HSVhsv(253, 77%, 52%)
CMYKcmyk(60.2%, 77.4%, 0%, 47.8%)
CIE-LABlab(21.50, 39.25, -53.61)
CIE-LCHlch(21.50, 66.44, 306.21°)
OKLaboklab(34.07% 0.0395 -0.1544)
OKLCHoklch(34.07% 0.159 284.3)
XYZxyz(6.1648, 3.3785, 22.5130)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E85 #6E851E
analogous
#1E3B85 #351E85 #691E85
triadic
#351E85 #85351E #1E8535
tetradic
#351E85 #851E3B #6E851E #1E8569
square
#351E85 #851E3B #6E851E #1E8569
split-complementary
#351E85 #85691E #3B851E
monochromatic
#0D0721 #211353 #351E85 #4929B7 #6748D6

Accessibility & contrast

On white

12.53
#351E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#351E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E85
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E85#FFFFFF#000000##FFFFFF
##351E851.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#063B50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #351e85;
/* rgb */ color: rgb(53, 30, 133);
/* oklch */ color: oklch(34.1% 0.159 284.3);
Tailwind
colors: {
  custom: {
    50: '#775daa',
    500: '#351e85',
    950: '#000000',
  },
}
SCSS
$custom: #351e85;
$custom-light: #775daa;
$custom-dark: #000000;
JSON
{
  "hex": "#351e85",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 253.398,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34072,
    "c": 0.15941,
    "h": 284.3
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#351E85
secondary
#9FB847
accent
#E642C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351E85

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

Preview Lab → · Contrast checker → · Palette generator →

#351E85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva