#351D94#351D94

#351D94 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.179 H 281.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#351D94
RGBrgb(53, 29, 148)
HSLhsl(252, 67%, 35%)
HSVhsv(252, 80%, 58%)
CMYKcmyk(64.2%, 80.4%, 0%, 42%)
CIE-LABlab(22.91, 44.36, -60.64)
CIE-LCHlch(22.91, 75.13, 306.19°)
OKLaboklab(35.53% 0.0358 -0.175)
OKLCHoklch(35.53% 0.179 281.6)
XYZxyz(7.2512, 3.7732, 28.3574)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D94 #7C941D
analogous
#1D4094 #351D94 #711D94
triadic
#351D94 #94351D #1D9435
tetradic
#351D94 #941D40 #7C941D #1D9471
square
#351D94 #941D40 #7C941D #1D9471
split-complementary
#351D94 #94711D #40941D
monochromatic
#10092E #231361 #351D94 #4727C7 #6B4FDC

Accessibility & contrast

On white

11.97
#351D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#351D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D94
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D94#FFFFFF#000000##FFFFFF
##351D941.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351d94;
/* rgb */ color: rgb(53, 29, 148);
/* oklch */ color: oklch(35.5% 0.179 281.6);
Tailwind
colors: {
  custom: {
    50: '#7a5db5',
    500: '#351d94',
    950: '#000000',
  },
}
SCSS
$custom: #351d94;
$custom-light: #7a5db5;
$custom-dark: #000000;
JSON
{
  "hex": "#351d94",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 252.101,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3553,
    "c": 0.17859,
    "h": 281.6
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#351D94
secondary
#A8BF4E
accent
#EA3EC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351D94

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

Preview Lab → · Contrast checker → · Palette generator →

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