#351B9B#351B9B

#351B9B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.189 H 280.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#351B9B
RGBrgb(53, 27, 155)
HSLhsl(252, 70%, 36%)
HSVhsv(252, 83%, 61%)
CMYKcmyk(65.8%, 82.6%, 0%, 39.2%)
CIE-LABlab(23.36, 47.39, -64.20)
CIE-LCHlch(23.36, 79.80, 306.43°)
OKLaboklab(36.07% 0.0346 -0.1853)
OKLCHoklch(36.07% 0.189 280.6)
XYZxyz(7.7747, 3.9067, 31.3484)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B9B #819B1B
analogous
#1B419B #351B9B #751B9B
triadic
#351B9B #9B351B #1B9B35
tetradic
#351B9B #9B1B41 #819B1B #1B9B75
square
#351B9B #9B1B41 #819B1B #1B9B75
split-complementary
#351B9B #9B751B #419B1B
monochromatic
#110933 #231267 #351B9B #4724CF #6D50E0

Accessibility & contrast

On white

11.79
#351B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#351B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B9B
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B9B#FFFFFF#000000##FFFFFF
##351B9B1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #351b9b;
/* rgb */ color: rgb(53, 27, 155);
/* oklch */ color: oklch(36.1% 0.189 280.6);
Tailwind
colors: {
  custom: {
    50: '#7b5dba',
    500: '#351b9b',
    950: '#000000',
  },
}
SCSS
$custom: #351b9b;
$custom-light: #7b5dba;
$custom-dark: #000000;
JSON
{
  "hex": "#351b9b",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 155
  },
  "hsl": {
    "h": 252.188,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36073,
    "c": 0.18851,
    "h": 280.6
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#351B9B
secondary
#ABC34F
accent
#ED3BC9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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