#351D8B#351D8B

#351D8B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.168 H 283.3°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#351D8B
RGBrgb(53, 29, 139)
HSLhsl(253, 65%, 33%)
HSVhsv(253, 79%, 55%)
CMYKcmyk(61.9%, 79.1%, 0%, 45.5%)
CIE-LABlab(21.94, 41.62, -56.64)
CIE-LCHlch(21.94, 70.29, 306.31°)
OKLaboklab(34.57% 0.0385 -0.1633)
OKLCHoklch(34.57% 0.168 283.3)
XYZxyz(6.5663, 3.4992, 24.7505)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D8B #738B1D
analogous
#1D3C8B #351D8B #6C1D8B
triadic
#351D8B #8B351D #1D8B35
tetradic
#351D8B #8B1D3C #738B1D #1D8B6C
square
#351D8B #8B1D3C #738B1D #1D8B6C
split-complementary
#351D8B #8B6C1D #3C8B1D
monochromatic
#0E0826 #221258 #351D8B #4828BE #6949D9

Accessibility & contrast

On white

12.35
#351D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#351D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D8B
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D8B#FFFFFF#000000##FFFFFF
##351D8B1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351d8b;
/* rgb */ color: rgb(53, 29, 139);
/* oklch */ color: oklch(34.6% 0.168 283.3);
Tailwind
colors: {
  custom: {
    50: '#785dae',
    500: '#351d8b',
    950: '#000000',
  },
}
SCSS
$custom: #351d8b;
$custom-light: #785dae;
$custom-dark: #000000;
JSON
{
  "hex": "#351d8b",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 253.091,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34569,
    "c": 0.16778,
    "h": 283.3
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#351D8B
secondary
#A2BB49
accent
#E83FC4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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