#351D89#351D89

#351D89 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.165 H 283.7°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#351D89
RGBrgb(53, 29, 137)
HSLhsl(253, 65%, 33%)
HSVhsv(253, 79%, 54%)
CMYKcmyk(61.3%, 78.8%, 0%, 46.3%)
CIE-LABlab(21.73, 41.01, -55.74)
CIE-LCHlch(21.73, 69.20, 306.34°)
OKLaboklab(34.36% 0.0391 -0.1607)
OKLCHoklch(34.36% 0.165 283.7)
XYZxyz(6.4215, 3.4413, 23.9879)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D89 #71891D
analogous
#1D3B89 #351D89 #6B1D89
triadic
#351D89 #89351D #1D8935
tetradic
#351D89 #891D3B #71891D #1D896B
square
#351D89 #891D3B #71891D #1D896B
split-complementary
#351D89 #896B1D #3B891D
monochromatic
#0E0824 #211256 #351D89 #4928BC #6848D8

Accessibility & contrast

On white

12.44
#351D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#351D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D89
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D89#FFFFFF#000000##FFFFFF
##351D891.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #351d89;
/* rgb */ color: rgb(53, 29, 137);
/* oklch */ color: oklch(34.4% 0.165 283.7);
Tailwind
colors: {
  custom: {
    50: '#775cad',
    500: '#351d89',
    950: '#000000',
  },
}
SCSS
$custom: #351d89;
$custom-light: #775cad;
$custom-dark: #000000;
JSON
{
  "hex": "#351d89",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 253.333,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34359,
    "c": 0.16535,
    "h": 283.7
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

primary
#351D89
secondary
#A1BA47
accent
#E840C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351D89

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

Preview Lab → · Contrast checker → · Palette generator →

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