#351680#351680

#351680 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.161 H 286.8°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#351680
RGBrgb(53, 22, 128)
HSLhsl(258, 71%, 29%)
HSVhsv(258, 83%, 50%)
CMYKcmyk(58.6%, 82.8%, 0%, 49.8%)
CIE-LABlab(19.59, 41.72, -53.59)
CIE-LCHlch(19.59, 67.92, 307.90°)
OKLaboklab(32.58% 0.0466 -0.1543)
OKLCHoklch(32.58% 0.161 286.8)
XYZxyz(5.6502, 2.8889, 20.6778)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351680 #618016
analogous
#162C80 #351680 #6A1680
triadic
#351680 #803516 #168035
tetradic
#351680 #80162C #618016 #16806A
square
#351680 #80162C #618016 #16806A
split-complementary
#351680 #806A16 #2C8016
monochromatic
#0B041A #1F0D4C #351680 #4B1FB4 #6534DC

Accessibility & contrast

On white

13.31
#351680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#351680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351680
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351680#FFFFFF#000000##FFFFFF
##3516801.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#11364C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351680;
/* rgb */ color: rgb(53, 22, 128);
/* oklch */ color: oklch(32.6% 0.161 286.8);
Tailwind
colors: {
  custom: {
    50: '#7658a6',
    500: '#351680',
    950: '#000000',
  },
}
SCSS
$custom: #351680;
$custom-light: #7658a6;
$custom-dark: #000000;
JSON
{
  "hex": "#351680",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 257.547,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32584,
    "c": 0.16121,
    "h": 286.8
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#351680
secondary
#92B53D
accent
#ED3AB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351680

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

Preview Lab → · Contrast checker → · Palette generator →

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