#351D8E#351D8E

#351D8E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.171 H 282.7°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#351D8E
RGBrgb(53, 29, 142)
HSLhsl(253, 66%, 34%)
HSVhsv(253, 80%, 56%)
CMYKcmyk(62.7%, 79.6%, 0%, 44.3%)
CIE-LABlab(22.26, 42.54, -57.99)
CIE-LCHlch(22.26, 71.92, 306.26°)
OKLaboklab(34.89% 0.0376 -0.1672)
OKLCHoklch(34.89% 0.171 282.7)
XYZxyz(6.7885, 3.5881, 25.9208)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D8E #768E1D
analogous
#1D3D8E #351D8E #6D1D8E
triadic
#351D8E #8E351D #1D8E35
tetradic
#351D8E #8E1D3D #768E1D #1D8E6D
square
#351D8E #8E1D3D #768E1D #1D8E6D
split-complementary
#351D8E #8E6D1D #3D8E1D
monochromatic
#0F0828 #22135B #351D8E #4827C1 #6A4BDA

Accessibility & contrast

On white

12.22
#351D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#351D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D8E
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D8E#FFFFFF#000000##FFFFFF
##351D8E1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351d8e;
/* rgb */ color: rgb(53, 29, 142);
/* oklch */ color: oklch(34.9% 0.171 282.7);
Tailwind
colors: {
  custom: {
    50: '#785db0',
    500: '#351d8e',
    950: '#000000',
  },
}
SCSS
$custom: #351d8e;
$custom-light: #785db0;
$custom-dark: #000000;
JSON
{
  "hex": "#351d8e",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 252.743,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34887,
    "c": 0.1714,
    "h": 282.7
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#351D8E
secondary
#A4BD4A
accent
#E93FC5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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