#351D5C#351D5C

#351D5C is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.107 H 297.0°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#351D5C
RGBrgb(53, 29, 92)
HSLhsl(263, 52%, 24%)
HSVhsv(263, 68%, 36%)
CMYKcmyk(42.4%, 68.5%, 0%, 63.9%)
CIE-LABlab(17.50, 27.16, -33.62)
CIE-LCHlch(17.50, 43.22, 308.93°)
OKLaboklab(30.05% 0.0488 -0.0958)
OKLCHoklch(30.05% 0.108 297)
XYZxyz(3.8388, 2.4083, 10.3857)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D5C #445C1D
analogous
#1D245C #351D5C #541D5C
triadic
#351D5C #5C351D #1D5C35
tetradic
#351D5C #5C1D24 #445C1D #1D5C54
square
#351D5C #5C1D24 #445C1D #1D5C54
split-complementary
#351D5C #5C541D #245C1D
monochromatic
#0D0717 #1A0E2D #351D5C #502C8B #6B3AB9

Accessibility & contrast

On white

14.17
#351D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#351D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D5C
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D5C#FFFFFF#000000##FFFFFF
##351D5C1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#2B2B39
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351d5c;
/* rgb */ color: rgb(53, 29, 92);
/* oklch */ color: oklch(30.1% 0.107 297.0);
Tailwind
colors: {
  custom: {
    50: '#705a8b',
    500: '#351d5c',
    950: '#000000',
  },
}
SCSS
$custom: #351d5c;
$custom-light: #705a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#351d5c",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 262.857,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30051,
    "c": 0.1075,
    "h": 297
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#351D5C
secondary
#749144
accent
#DC4CA5
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #351D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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