#351D8D#351D8D

#351D8D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.170 H 282.9°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#351D8D
RGBrgb(53, 29, 141)
HSLhsl(253, 66%, 33%)
HSVhsv(253, 79%, 55%)
CMYKcmyk(62.4%, 79.4%, 0%, 44.7%)
CIE-LABlab(22.15, 42.23, -57.54)
CIE-LCHlch(22.15, 71.38, 306.28°)
OKLaboklab(34.78% 0.0379 -0.1659)
OKLCHoklch(34.78% 0.17 282.9)
XYZxyz(6.7138, 3.5582, 25.5272)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D8D #758D1D
analogous
#1D3D8D #351D8D #6D1D8D
triadic
#351D8D #8D351D #1D8D35
tetradic
#351D8D #8D1D3D #758D1D #1D8D6D
square
#351D8D #8D1D3D #758D1D #1D8D6D
split-complementary
#351D8D #8D6D1D #3D8D1D
monochromatic
#0F0827 #22135A #351D8D #4827C0 #694BDA

Accessibility & contrast

On white

12.27
#351D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#351D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D8D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D8D#FFFFFF#000000##FFFFFF
##351D8D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351d8d;
/* rgb */ color: rgb(53, 29, 141);
/* oklch */ color: oklch(34.8% 0.170 282.9);
Tailwind
colors: {
  custom: {
    50: '#785daf',
    500: '#351d8d',
    950: '#000000',
  },
}
SCSS
$custom: #351d8d;
$custom-light: #785daf;
$custom-dark: #000000;
JSON
{
  "hex": "#351d8d",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 252.857,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3478,
    "c": 0.1702,
    "h": 282.9
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#351D8D
secondary
#A4BC4A
accent
#E93FC4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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