#351A9B#351A9B

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

Color values

HEX#351A9B
RGBrgb(53, 26, 155)
HSLhsl(253, 71%, 35%)
HSVhsv(253, 83%, 61%)
CMYKcmyk(65.8%, 83.2%, 0%, 39.2%)
CIE-LABlab(23.21, 47.83, -64.45)
CIE-LCHlch(23.21, 80.26, 306.58°)
OKLaboklab(35.97% 0.0351 -0.186)
OKLCHoklch(35.97% 0.189 280.7)
XYZxyz(7.7521, 3.8616, 31.3408)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A9B #809B1A
analogous
#1A3F9B #351A9B #751A9B
triadic
#351A9B #9B351A #1A9B35
tetradic
#351A9B #9B1A3F #809B1A #1A9B75
square
#351A9B #9B1A3F #809B1A #1A9B75
split-complementary
#351A9B #9B751A #3F9B1A
monochromatic
#110832 #231167 #351A9B #4723CF #6D4EE1

Accessibility & contrast

On white

11.85
#351A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351A9B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A9B#FFFFFF#000000##FFFFFF
##351A9B1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351a9b;
/* rgb */ color: rgb(53, 26, 155);
/* oklch */ color: oklch(36.0% 0.189 280.7);
Tailwind
colors: {
  custom: {
    50: '#7b5cba',
    500: '#351a9b',
    950: '#000000',
  },
}
SCSS
$custom: #351a9b;
$custom-light: #7b5cba;
$custom-dark: #000000;
JSON
{
  "hex": "#351a9b",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 155
  },
  "hsl": {
    "h": 252.558,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35969,
    "c": 0.1893,
    "h": 280.7
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#351A9B
secondary
#ABC44D
accent
#EE3AC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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