#351D8F#351D8F

#351D8F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.173 H 282.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#351D8F
RGBrgb(53, 29, 143)
HSLhsl(253, 66%, 34%)
HSVhsv(253, 80%, 56%)
CMYKcmyk(62.9%, 79.7%, 0%, 43.9%)
CIE-LABlab(22.37, 42.84, -58.43)
CIE-LCHlch(22.37, 72.46, 306.25°)
OKLaboklab(34.99% 0.0373 -0.1685)
OKLCHoklch(34.99% 0.173 282.5)
XYZxyz(6.8639, 3.6183, 26.3180)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D8F #778F1D
analogous
#1D3E8F #351D8F #6E1D8F
triadic
#351D8F #8F351D #1D8F35
tetradic
#351D8F #8F1D3E #778F1D #1D8F6E
square
#351D8F #8F1D3E #778F1D #1D8F6E
split-complementary
#351D8F #8F6E1D #3E8F1D
monochromatic
#0F0829 #22135C #351D8F #4827C2 #6A4CDB

Accessibility & contrast

On white

12.18
#351D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351D8F
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D8F#FFFFFF#000000##FFFFFF
##351D8F1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351d8f;
/* rgb */ color: rgb(53, 29, 143);
/* oklch */ color: oklch(35.0% 0.173 282.5);
Tailwind
colors: {
  custom: {
    50: '#795db1',
    500: '#351d8f',
    950: '#000000',
  },
}
SCSS
$custom: #351d8f;
$custom-light: #795db1;
$custom-dark: #000000;
JSON
{
  "hex": "#351d8f",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 252.632,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34993,
    "c": 0.1726,
    "h": 282.5
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #351D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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