#351D8C#351D8C

#351D8C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.169 H 283.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#351D8C
RGBrgb(53, 29, 140)
HSLhsl(253, 66%, 33%)
HSVhsv(253, 79%, 55%)
CMYKcmyk(62.1%, 79.3%, 0%, 45.1%)
CIE-LABlab(22.05, 41.93, -57.09)
CIE-LCHlch(22.05, 70.83, 306.29°)
OKLaboklab(34.67% 0.0382 -0.1646)
OKLCHoklch(34.67% 0.169 283.1)
XYZxyz(6.6397, 3.5286, 25.1371)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D8C #748C1D
analogous
#1D3C8C #351D8C #6C1D8C
triadic
#351D8C #8C351D #1D8C35
tetradic
#351D8C #8C1D3C #748C1D #1D8C6C
square
#351D8C #8C1D3C #748C1D #1D8C6C
split-complementary
#351D8C #8C6C1D #3C8C1D
monochromatic
#0F0827 #221259 #351D8C #4828BF #694AD9

Accessibility & contrast

On white

12.31
#351D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351D8C
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D8C#FFFFFF#000000##FFFFFF
##351D8C1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351d8c;
/* rgb */ color: rgb(53, 29, 140);
/* oklch */ color: oklch(34.7% 0.169 283.1);
Tailwind
colors: {
  custom: {
    50: '#785daf',
    500: '#351d8c',
    950: '#000000',
  },
}
SCSS
$custom: #351d8c;
$custom-light: #785daf;
$custom-dark: #000000;
JSON
{
  "hex": "#351d8c",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 252.973,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34675,
    "c": 0.16899,
    "h": 283.1
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#351D8C
secondary
#A3BC49
accent
#E93FC4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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