#351681#351681

#351681 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.162 H 286.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#351681
RGBrgb(53, 22, 129)
HSLhsl(257, 71%, 30%)
HSVhsv(257, 83%, 51%)
CMYKcmyk(58.9%, 82.9%, 0%, 49.4%)
CIE-LABlab(19.70, 42.01, -54.05)
CIE-LCHlch(19.70, 68.45, 307.86°)
OKLaboklab(32.69% 0.0463 -0.1556)
OKLCHoklch(32.69% 0.162 286.6)
XYZxyz(5.7164, 2.9154, 21.0261)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351681 #628116
analogous
#162D81 #351681 #6B1681
triadic
#351681 #813516 #168135
tetradic
#351681 #81162D #628116 #16816B
square
#351681 #81162D #628116 #16816B
split-complementary
#351681 #816B16 #2D8116
monochromatic
#0B041A #200D4D #351681 #4A1FB5 #6535DD

Accessibility & contrast

On white

13.26
#351681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351681
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351681#FFFFFF#000000##FFFFFF
##3516811.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002D7F
Tritanopia (blue-blind)
#0F364C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351681;
/* rgb */ color: rgb(53, 22, 129);
/* oklch */ color: oklch(32.7% 0.162 286.6);
Tailwind
colors: {
  custom: {
    50: '#7758a7',
    500: '#351681',
    950: '#000000',
  },
}
SCSS
$custom: #351681;
$custom-light: #7758a7;
$custom-dark: #000000;
JSON
{
  "hex": "#351681",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 257.383,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32691,
    "c": 0.16238,
    "h": 286.6
  },
  "luminance": 0.02916
}

Semantic roles & 50–950 ramp

primary
#351681
secondary
#93B63D
accent
#EE3ABA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351681

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

Preview Lab → · Contrast checker → · Palette generator →

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