#351D4D#351D4D

#351D4D is a dark, moderate violet. Relative luminance 0.022; OKLCH L 28.9% C 0.087 H 304.6°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#351D4D
RGBrgb(53, 29, 77)
HSLhsl(270, 45%, 21%)
HSVhsv(270, 62%, 30%)
CMYKcmyk(31.2%, 62.3%, 0%, 69.8%)
CIE-LABlab(16.36, 22.74, -25.33)
CIE-LCHlch(16.36, 34.04, 311.91°)
OKLaboklab(28.86% 0.0493 -0.0714)
OKLCHoklch(28.86% 0.087 304.6)
XYZxyz(3.2468, 2.1715, 7.2678)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D4D #354D1D
analogous
#1D1D4D #351D4D #4D1D4D
triadic
#351D4D #4D351D #1D4D35
tetradic
#351D4D #4D1D1D #354D1D #1D4D4D
square
#351D4D #4D1D1D #354D1D #1D4D4D
split-complementary
#351D4D #4D4D1D #1D4D1D
monochromatic
#0F0816 #160C21 #351D4D #542E79 #723EA6

Accessibility & contrast

On white

14.64
#351D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#351D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D4D
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D4D#FFFFFF#000000##FFFFFF
##351D4D1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A284F
Deuteranopia (green-blind)
#13294C
Tritanopia (blue-blind)
#312631
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #351d4d;
/* rgb */ color: rgb(53, 29, 77);
/* oklch */ color: oklch(28.9% 0.087 304.6);
Tailwind
colors: {
  custom: {
    50: '#6e5a7f',
    500: '#351d4d',
    950: '#000000',
  },
}
SCSS
$custom: #351d4d;
$custom-light: #6e5a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#351d4d",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 270,
    "s": 45.283,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2886,
    "c": 0.08681,
    "h": 304.6
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#351D4D
secondary
#638244
accent
#D55394
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #351D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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