#351B9A#351B9A

#351B9A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.187 H 280.8°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#351B9A
RGBrgb(53, 27, 154)
HSLhsl(252, 70%, 35%)
HSVhsv(252, 82%, 60%)
CMYKcmyk(65.6%, 82.5%, 0%, 39.6%)
CIE-LABlab(23.25, 47.09, -63.77)
CIE-LCHlch(23.25, 79.28, 306.44°)
OKLaboklab(35.96% 0.035 -0.1841)
OKLCHoklch(35.96% 0.187 280.8)
XYZxyz(7.6910, 3.8732, 30.9079)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B9A #809A1B
analogous
#1B419A #351B9A #741B9A
triadic
#351B9A #9A351B #1B9A35
tetradic
#351B9A #9A1B41 #809A1B #1B9A74
square
#351B9A #9A1B41 #809A1B #1B9A74
split-complementary
#351B9A #9A741B #419A1B
monochromatic
#110932 #231266 #351B9A #4724CE #6D4FE0

Accessibility & contrast

On white

11.83
#351B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#351B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B9A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B9A#FFFFFF#000000##FFFFFF
##351B9A1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351b9a;
/* rgb */ color: rgb(53, 27, 154);
/* oklch */ color: oklch(36.0% 0.187 280.8);
Tailwind
colors: {
  custom: {
    50: '#7b5db9',
    500: '#351b9a',
    950: '#000000',
  },
}
SCSS
$custom: #351b9a;
$custom-light: #7b5db9;
$custom-dark: #000000;
JSON
{
  "hex": "#351b9a",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 154
  },
  "hsl": {
    "h": 252.283,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35962,
    "c": 0.18735,
    "h": 280.8
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#351B9A
secondary
#ABC34E
accent
#ED3BC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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