#351D6F#351D6F

#351D6F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.133 H 290.2°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#351D6F
RGBrgb(53, 29, 111)
HSLhsl(258, 59%, 27%)
HSVhsv(258, 74%, 44%)
CMYKcmyk(52.3%, 73.9%, 0%, 56.5%)
CIE-LABlab(19.15, 32.98, -43.42)
CIE-LCHlch(19.15, 54.52, 307.22°)
OKLaboklab(31.76% 0.0457 -0.1246)
OKLCHoklch(31.76% 0.133 290.2)
XYZxyz(4.7760, 2.7831, 15.3214)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D6F #576F1D
analogous
#1D2E6F #351D6F #5E1D6F
triadic
#351D6F #6F351D #1D6F35
tetradic
#351D6F #6F1D2E #576F1D #1D6F5E
square
#351D6F #6F1D2E #576F1D #1D6F5E
split-complementary
#351D6F #6F5E1D #2E6F1D
monochromatic
#0C0618 #1E103E #351D6F #4C2AA0 #653BCC

Accessibility & contrast

On white

13.49
#351D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351D6F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D6F#FFFFFF#000000##FFFFFF
##351D6F1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#213244
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351d6f;
/* rgb */ color: rgb(53, 29, 111);
/* oklch */ color: oklch(31.8% 0.133 290.2);
Tailwind
colors: {
  custom: {
    50: '#735b99',
    500: '#351d6f',
    950: '#000000',
  },
}
SCSS
$custom: #351d6f;
$custom-light: #735b99;
$custom-dark: #000000;
JSON
{
  "hex": "#351d6f",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 257.561,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31756,
    "c": 0.13271,
    "h": 290.2
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#351D6F
secondary
#88A344
accent
#E246B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #351D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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