#351F6B#351F6B

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

Color values

HEX#351F6B
RGBrgb(53, 31, 107)
HSLhsl(257, 55%, 27%)
HSVhsv(257, 71%, 42%)
CMYKcmyk(50.5%, 71%, 0%, 58%)
CIE-LABlab(19.22, 30.56, -40.71)
CIE-LCHlch(19.22, 50.91, 306.89°)
OKLaboklab(31.69% 0.0444 -0.1167)
OKLCHoklch(31.69% 0.125 290.8)
XYZxyz(4.6113, 2.7982, 14.2042)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F6B #556B1F
analogous
#1F2F6B #351F6B #5B1F6B
triadic
#351F6B #6B351F #1F6B35
tetradic
#351F6B #6B1F2F #556B1F #1F6B5B
square
#351F6B #6B1F2F #556B1F #1F6B5B
split-complementary
#351F6B #6B5B1F #2F6B1F
monochromatic
#0C0718 #1D113C #351F6B #4D2D9A #653DC7

Accessibility & contrast

On white

13.46
#351F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351F6B
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F6B#FFFFFF#000000##FFFFFF
##351F6B1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#243242
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351f6b;
/* rgb */ color: rgb(53, 31, 107);
/* oklch */ color: oklch(31.7% 0.125 290.8);
Tailwind
colors: {
  custom: {
    50: '#725c96',
    500: '#351f6b',
    950: '#000000',
  },
}
SCSS
$custom: #351f6b;
$custom-light: #725c96;
$custom-dark: #000000;
JSON
{
  "hex": "#351f6b",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 257.368,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31689,
    "c": 0.12481,
    "h": 290.8
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#351F6B
secondary
#869F47
accent
#DE49B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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