#351D6D#351D6D

#351D6D is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.130 H 290.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#351D6D
RGBrgb(53, 29, 109)
HSLhsl(258, 58%, 27%)
HSVhsv(258, 73%, 43%)
CMYKcmyk(51.4%, 73.4%, 0%, 57.3%)
CIE-LABlab(18.97, 32.36, -42.42)
CIE-LCHlch(18.97, 53.36, 307.34°)
OKLaboklab(31.57% 0.0461 -0.1217)
OKLCHoklch(31.57% 0.13 290.8)
XYZxyz(4.6671, 2.7396, 14.7479)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D6D #556D1D
analogous
#1D2D6D #351D6D #5D1D6D
triadic
#351D6D #6D351D #1D6D35
tetradic
#351D6D #6D1D2D #556D1D #1D6D5D
square
#351D6D #6D1D2D #556D1D #1D6D5D
split-complementary
#351D6D #6D5D1D #2D6D1D
monochromatic
#0C0618 #1D103D #351D6D #4D2A9D #653ACB

Accessibility & contrast

On white

13.57
#351D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#351D6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D6D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D6D#FFFFFF#000000##FFFFFF
##351D6D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#002C6B
Tritanopia (blue-blind)
#233142
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351d6d;
/* rgb */ color: rgb(53, 29, 109);
/* oklch */ color: oklch(31.6% 0.130 290.8);
Tailwind
colors: {
  custom: {
    50: '#725b98',
    500: '#351d6d',
    950: '#000000',
  },
}
SCSS
$custom: #351d6d;
$custom-light: #725b98;
$custom-dark: #000000;
JSON
{
  "hex": "#351d6d",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 109
  },
  "hsl": {
    "h": 258,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31567,
    "c": 0.13011,
    "h": 290.8
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#351D6D
secondary
#86A244
accent
#E147B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #351D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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