#351D4E#351D4E

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

Color values

HEX#351D4E
RGBrgb(53, 29, 78)
HSLhsl(269, 46%, 21%)
HSVhsv(269, 63%, 31%)
CMYKcmyk(32.1%, 62.8%, 0%, 69.4%)
CIE-LABlab(16.43, 23.03, -25.90)
CIE-LCHlch(16.43, 34.66, 311.64°)
OKLaboklab(28.94% 0.0493 -0.0731)
OKLCHoklch(28.94% 0.088 304)
XYZxyz(3.2824, 2.1857, 7.4552)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D4E #364E1D
analogous
#1D1D4E #351D4E #4D1D4E
triadic
#351D4E #4E351D #1D4E35
tetradic
#351D4E #4E1D1D #364E1D #1D4E4D
square
#351D4E #4E1D1D #364E1D #1D4E4D
split-complementary
#351D4E #4E4D1D #1D4E1D
monochromatic
#0F0816 #170C21 #351D4E #532E7B #723EA7

Accessibility & contrast

On white

14.61
#351D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#351D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D4E
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D4E#FFFFFF#000000##FFFFFF
##351D4E1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092850
Deuteranopia (green-blind)
#13294D
Tritanopia (blue-blind)
#312732
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #351d4e;
/* rgb */ color: rgb(53, 29, 78);
/* oklch */ color: oklch(28.9% 0.088 304.0);
Tailwind
colors: {
  custom: {
    50: '#6e5a80',
    500: '#351d4e',
    950: '#000000',
  },
}
SCSS
$custom: #351d4e;
$custom-light: #6e5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#351d4e",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 269.388,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28935,
    "c": 0.08821,
    "h": 304
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#351D4E
secondary
#648344
accent
#D55295
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #351D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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