#351685#351685

#351685 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.167 H 285.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#351685
RGBrgb(53, 22, 133)
HSLhsl(257, 72%, 30%)
HSVhsv(257, 83%, 52%)
CMYKcmyk(60.2%, 83.5%, 0%, 47.8%)
CIE-LABlab(20.14, 43.18, -55.85)
CIE-LCHlch(20.14, 70.60, 307.71°)
OKLaboklab(33.12% 0.0449 -0.1609)
OKLCHoklch(33.12% 0.167 285.6)
XYZxyz(5.9875, 3.0238, 22.4539)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351685 #668516
analogous
#162E85 #351685 #6C1685
triadic
#351685 #853516 #168535
tetradic
#351685 #85162E #668516 #16856C
square
#351685 #85162E #668516 #16856C
split-complementary
#351685 #856C16 #2E8516
monochromatic
#0B051C #200D50 #351685 #4A1FBA #6637DE

Accessibility & contrast

On white

13.09
#351685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351685
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351685#FFFFFF#000000##FFFFFF
##3516851.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#07384E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351685;
/* rgb */ color: rgb(53, 22, 133);
/* oklch */ color: oklch(33.1% 0.167 285.6);
Tailwind
colors: {
  custom: {
    50: '#7759aa',
    500: '#351685',
    950: '#000000',
  },
}
SCSS
$custom: #351685;
$custom-light: #7759aa;
$custom-dark: #000000;
JSON
{
  "hex": "#351685",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 256.757,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33123,
    "c": 0.16706,
    "h": 285.6
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#351685
secondary
#97B93E
accent
#EE39BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351685

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

Preview Lab → · Contrast checker → · Palette generator →

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