#351D5F#351D5F

#351D5F is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.3% C 0.112 H 295.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#351D5F
RGBrgb(53, 29, 95)
HSLhsl(262, 53%, 24%)
HSVhsv(262, 69%, 37%)
CMYKcmyk(44.2%, 69.5%, 0%, 62.7%)
CIE-LABlab(17.75, 28.07, -35.22)
CIE-LCHlch(17.75, 45.04, 308.55°)
OKLaboklab(30.31% 0.0484 -0.1005)
OKLCHoklch(30.31% 0.112 295.7)
XYZxyz(3.9726, 2.4618, 11.0901)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D5F #475F1D
analogous
#1D265F #351D5F #561D5F
triadic
#351D5F #5F351D #1D5F35
tetradic
#351D5F #5F1D26 #475F1D #1D5F56
square
#351D5F #5F1D26 #475F1D #1D5F56
split-complementary
#351D5F #5F561D #265F1D
monochromatic
#0D0717 #1B0F30 #351D5F #4F2B8E #693ABD

Accessibility & contrast

On white

14.07
#351D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#351D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D5F
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D5F#FFFFFF#000000##FFFFFF
##351D5F1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351d5f;
/* rgb */ color: rgb(53, 29, 95);
/* oklch */ color: oklch(30.3% 0.112 295.7);
Tailwind
colors: {
  custom: {
    50: '#705a8d',
    500: '#351d5f',
    950: '#000000',
  },
}
SCSS
$custom: #351d5f;
$custom-light: #705a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#351d5f",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 261.818,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30306,
    "c": 0.11157,
    "h": 295.7
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#351D5F
secondary
#779444
accent
#DD4BA8
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #351D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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