#351A4F#351A4F

#351A4F is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.5% C 0.095 H 304.5°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#351A4F
RGBrgb(53, 26, 79)
HSLhsl(271, 50%, 21%)
HSVhsv(271, 67%, 31%)
CMYKcmyk(32.9%, 67.1%, 0%, 69%)
CIE-LABlab(15.80, 25.20, -27.60)
CIE-LCHlch(15.80, 37.37, 312.39°)
OKLaboklab(28.5% 0.0537 -0.0781)
OKLCHoklch(28.5% 0.095 304.5)
XYZxyz(3.2486, 2.0602, 7.6221)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A4F #344F1A
analogous
#1A1A4F #351A4F #4F1A4E
triadic
#351A4F #4F351A #1A4F35
tetradic
#351A4F #4F1A1A #344F1A #1A4E4F
square
#351A4F #4F1A1A #344F1A #1A4E4F
split-complementary
#351A4F #4E4F1A #1A4F1A
monochromatic
#0F0817 #160B21 #351A4F #54297D #7338AB

Accessibility & contrast

On white

14.87
#351A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#351A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A4F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A4F#FFFFFF#000000##FFFFFF
##351A4F1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012751
Deuteranopia (green-blind)
#0D274E
Tritanopia (blue-blind)
#302531
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351a4f;
/* rgb */ color: rgb(53, 26, 79);
/* oklch */ color: oklch(28.5% 0.095 304.5);
Tailwind
colors: {
  custom: {
    50: '#6f5881',
    500: '#351a4f',
    950: '#000000',
  },
}
SCSS
$custom: #351a4f;
$custom-light: #6f5881;
$custom-dark: #000000;
JSON
{
  "hex": "#351a4f",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 270.566,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28496,
    "c": 0.09479,
    "h": 304.5
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#351A4F
secondary
#628540
accent
#DA4E93
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #351A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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