#351E6D#351E6D

#351E6D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.129 H 290.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#351E6D
RGBrgb(53, 30, 109)
HSLhsl(257, 57%, 27%)
HSVhsv(257, 72%, 43%)
CMYKcmyk(51.4%, 72.5%, 0%, 57.3%)
CIE-LABlab(19.18, 31.78, -42.08)
CIE-LCHlch(19.18, 52.73, 307.06°)
OKLaboklab(31.72% 0.0451 -0.1207)
OKLCHoklch(31.72% 0.129 290.5)
XYZxyz(4.6920, 2.7894, 14.7562)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E6D #566D1E
analogous
#1E2F6D #351E6D #5D1E6D
triadic
#351E6D #6D351E #1E6D35
tetradic
#351E6D #6D1E2F #566D1E #1E6D5D
square
#351E6D #6D1E2F #566D1E #1E6D5D
split-complementary
#351E6D #6D5D1E #2F6D1E
monochromatic
#0C0718 #1E113D #351E6D #4C2B9D #653CC9

Accessibility & contrast

On white

13.48
#351E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#351E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E6D
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E6D#FFFFFF#000000##FFFFFF
##351E6D1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#223243
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351e6d;
/* rgb */ color: rgb(53, 30, 109);
/* oklch */ color: oklch(31.7% 0.129 290.5);
Tailwind
colors: {
  custom: {
    50: '#725c98',
    500: '#351e6d',
    950: '#000000',
  },
}
SCSS
$custom: #351e6d;
$custom-light: #725c98;
$custom-dark: #000000;
JSON
{
  "hex": "#351e6d",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 257.468,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31718,
    "c": 0.12881,
    "h": 290.5
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#351E6D
secondary
#87A145
accent
#E048B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #351E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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