#351D92#351D92

#351D92 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.176 H 281.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#351D92
RGBrgb(53, 29, 146)
HSLhsl(252, 67%, 34%)
HSVhsv(252, 80%, 57%)
CMYKcmyk(63.7%, 80.1%, 0%, 42.7%)
CIE-LABlab(22.69, 43.75, -59.76)
CIE-LCHlch(22.69, 74.07, 306.21°)
OKLaboklab(35.31% 0.0364 -0.1724)
OKLCHoklch(35.31% 0.176 281.9)
XYZxyz(7.0942, 3.7104, 27.5309)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D92 #7A921D
analogous
#1D3F92 #351D92 #701D92
triadic
#351D92 #92351D #1D9235
tetradic
#351D92 #921D3F #7A921D #1D9270
square
#351D92 #921D3F #7A921D #1D9270
split-complementary
#351D92 #92701D #3F921D
monochromatic
#10092C #22135F #351D92 #4827C5 #6B4EDC

Accessibility & contrast

On white

12.05
#351D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#351D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D92
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D92#FFFFFF#000000##FFFFFF
##351D921.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #351d92;
/* rgb */ color: rgb(53, 29, 146);
/* oklch */ color: oklch(35.3% 0.176 281.9);
Tailwind
colors: {
  custom: {
    50: '#795db3',
    500: '#351d92',
    950: '#000000',
  },
}
SCSS
$custom: #351d92;
$custom-light: #795db3;
$custom-dark: #000000;
JSON
{
  "hex": "#351d92",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 252.308,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35314,
    "c": 0.17619,
    "h": 281.9
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#351D92
secondary
#A7BE4C
accent
#EA3EC7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351D92

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

Preview Lab → · Contrast checker → · Palette generator →

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