#351A57#351A57

#351A57 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.1% C 0.105 H 300.3°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#351A57
RGBrgb(53, 26, 87)
HSLhsl(267, 54%, 22%)
HSVhsv(267, 70%, 34%)
CMYKcmyk(39.1%, 70.1%, 0%, 65.9%)
CIE-LABlab(16.42, 27.50, -32.01)
CIE-LCHlch(16.42, 42.20, 310.66°)
OKLaboklab(29.15% 0.0531 -0.0911)
OKLCHoklch(29.15% 0.105 300.3)
XYZxyz(3.5575, 2.1838, 9.2491)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A57 #3C571A
analogous
#1A1E57 #351A57 #531A57
triadic
#351A57 #57351A #1A5735
tetradic
#351A57 #571A1E #3C571A #1A5753
square
#351A57 #571A1E #3C571A #1A5753
split-complementary
#351A57 #57531A #1E571A
monochromatic
#0E0718 #180C28 #351A57 #522886 #6E36B5

Accessibility & contrast

On white

14.62
#351A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#351A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A57
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A57#FFFFFF#000000##FFFFFF
##351A571.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#012856
Tritanopia (blue-blind)
#2E2836
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #351a57;
/* rgb */ color: rgb(53, 26, 87);
/* oklch */ color: oklch(29.1% 0.105 300.3);
Tailwind
colors: {
  custom: {
    50: '#6f5887',
    500: '#351a57',
    950: '#000000',
  },
}
SCSS
$custom: #351a57;
$custom-light: #6f5887;
$custom-dark: #000000;
JSON
{
  "hex": "#351a57",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 266.557,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29146,
    "c": 0.10544,
    "h": 300.3
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#351A57
secondary
#6B8D40
accent
#DD4A9C
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351A57

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

Preview Lab → · Contrast checker → · Palette generator →

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