#351B99#351B99

#351B99 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.186 H 280.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#351B99
RGBrgb(53, 27, 153)
HSLhsl(252, 70%, 35%)
HSVhsv(252, 82%, 60%)
CMYKcmyk(65.4%, 82.4%, 0%, 40%)
CIE-LABlab(23.14, 46.80, -63.34)
CIE-LCHlch(23.14, 78.76, 306.46°)
OKLaboklab(35.85% 0.0353 -0.1828)
OKLCHoklch(35.85% 0.186 280.9)
XYZxyz(7.6081, 3.8401, 30.4711)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B99 #7F991B
analogous
#1B4099 #351B99 #741B99
triadic
#351B99 #99351B #1B9935
tetradic
#351B99 #991B40 #7F991B #1B9974
square
#351B99 #991B40 #7F991B #1B9974
split-complementary
#351B99 #99741B #40991B
monochromatic
#110931 #231265 #351B99 #4724CD #6D4FE0

Accessibility & contrast

On white

11.88
#351B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351B99
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B99#FFFFFF#000000##FFFFFF
##351B991.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351b99;
/* rgb */ color: rgb(53, 27, 153);
/* oklch */ color: oklch(35.9% 0.186 280.9);
Tailwind
colors: {
  custom: {
    50: '#7b5cb8',
    500: '#351b99',
    950: '#000000',
  },
}
SCSS
$custom: #351b99;
$custom-light: #7b5cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#351b99",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 252.381,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35852,
    "c": 0.18618,
    "h": 280.9
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #351B99

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

Preview Lab → · Contrast checker → · Palette generator →

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