#351B7A#351B7A

#351B7A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.149 H 287.5°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#351B7A
RGBrgb(53, 27, 122)
HSLhsl(256, 64%, 29%)
HSVhsv(256, 78%, 48%)
CMYKcmyk(56.6%, 77.9%, 0%, 52.2%)
CIE-LABlab(19.82, 37.46, -49.39)
CIE-LCHlch(19.82, 61.99, 307.18°)
OKLaboklab(32.56% 0.0448 -0.1421)
OKLCHoklch(32.56% 0.149 287.5)
XYZxyz(5.3719, 2.9456, 18.6941)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B7A #607A1B
analogous
#1B317A #351B7A #651B7A
triadic
#351B7A #7A351B #1B7A35
tetradic
#351B7A #7A1B31 #607A1B #1B7A65
square
#351B7A #7A1B31 #607A1B #1B7A65
split-complementary
#351B7A #7A651B #317A1B
monochromatic
#0B0619 #1F1048 #351B7A #4B26AC #653CD4

Accessibility & contrast

On white

13.21
#351B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#351B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B7A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B7A#FFFFFF#000000##FFFFFF
##351B7A1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#183549
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351b7a;
/* rgb */ color: rgb(53, 27, 122);
/* oklch */ color: oklch(32.6% 0.149 287.5);
Tailwind
colors: {
  custom: {
    50: '#755ba1',
    500: '#351b7a',
    950: '#000000',
  },
}
SCSS
$custom: #351b7a;
$custom-light: #755ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#351b7a",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 256.421,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32556,
    "c": 0.14899,
    "h": 287.5
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#351B7A
secondary
#91AE43
accent
#E741B9
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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