#351E84#351E84

#351E84 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.158 H 284.5°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#351E84
RGBrgb(53, 30, 132)
HSLhsl(254, 63%, 32%)
HSVhsv(254, 77%, 52%)
CMYKcmyk(59.8%, 77.3%, 0%, 48.2%)
CIE-LABlab(21.40, 38.94, -53.15)
CIE-LCHlch(21.40, 65.89, 306.23°)
OKLaboklab(33.97% 0.0397 -0.1531)
OKLCHoklch(33.97% 0.158 284.5)
XYZxyz(6.0961, 3.3510, 22.1509)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E84 #6D841E
analogous
#1E3A84 #351E84 #681E84
triadic
#351E84 #84351E #1E8435
tetradic
#351E84 #841E3A #6D841E #1E8468
square
#351E84 #841E3A #6D841E #1E8468
split-complementary
#351E84 #84681E #3A841E
monochromatic
#0D0720 #211352 #351E84 #4929B6 #6747D5

Accessibility & contrast

On white

12.57
#351E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#351E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E84
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E84#FFFFFF#000000##FFFFFF
##351E841.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#083B50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #351e84;
/* rgb */ color: rgb(53, 30, 132);
/* oklch */ color: oklch(34.0% 0.158 284.5);
Tailwind
colors: {
  custom: {
    50: '#765da9',
    500: '#351e84',
    950: '#000000',
  },
}
SCSS
$custom: #351e84;
$custom-light: #765da9;
$custom-dark: #000000;
JSON
{
  "hex": "#351e84",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 253.529,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33969,
    "c": 0.15817,
    "h": 284.5
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#351E84
secondary
#9EB747
accent
#E642C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #351E84

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

Preview Lab → · Contrast checker → · Palette generator →

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