#351684#351684

#351684 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.166 H 285.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#351684
RGBrgb(53, 22, 132)
HSLhsl(257, 71%, 30%)
HSVhsv(257, 83%, 52%)
CMYKcmyk(59.8%, 83.3%, 0%, 48.2%)
CIE-LABlab(20.03, 42.89, -55.40)
CIE-LCHlch(20.03, 70.06, 307.74°)
OKLaboklab(33.02% 0.0452 -0.1596)
OKLCHoklch(33.02% 0.166 285.8)
XYZxyz(5.9187, 2.9963, 22.0918)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351684 #658416
analogous
#162E84 #351684 #6C1684
triadic
#351684 #843516 #168435
tetradic
#351684 #84162E #658416 #16846C
square
#351684 #84162E #658416 #16846C
split-complementary
#351684 #846C16 #2E8416
monochromatic
#0B051B #200D50 #351684 #4A1FB8 #6637DE

Accessibility & contrast

On white

13.13
#351684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#351684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351684
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351684#FFFFFF#000000##FFFFFF
##3516841.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#09374E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351684;
/* rgb */ color: rgb(53, 22, 132);
/* oklch */ color: oklch(33.0% 0.166 285.8);
Tailwind
colors: {
  custom: {
    50: '#7759a9',
    500: '#351684',
    950: '#000000',
  },
}
SCSS
$custom: #351684;
$custom-light: #7759a9;
$custom-dark: #000000;
JSON
{
  "hex": "#351684",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 256.909,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33015,
    "c": 0.16589,
    "h": 285.8
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#351684
secondary
#96B83D
accent
#EE3ABB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351684

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

Preview Lab → · Contrast checker → · Palette generator →

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