#351A56#351A56

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

Color values

HEX#351A56
RGBrgb(53, 26, 86)
HSLhsl(267, 54%, 22%)
HSVhsv(267, 70%, 34%)
CMYKcmyk(38.4%, 69.8%, 0%, 66.3%)
CIE-LABlab(16.34, 27.20, -31.47)
CIE-LCHlch(16.34, 41.60, 310.84°)
OKLaboklab(29.06% 0.0532 -0.0895)
OKLCHoklch(29.06% 0.104 300.8)
XYZxyz(3.5169, 2.1675, 9.0354)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A56 #3B561A
analogous
#1A1D56 #351A56 #531A56
triadic
#351A56 #56351A #1A5635
tetradic
#351A56 #561A1D #3B561A #1A5653
square
#351A56 #561A1D #3B561A #1A5653
split-complementary
#351A56 #56531A #1D561A
monochromatic
#0E0717 #180C27 #351A56 #522885 #6F36B4

Accessibility & contrast

On white

14.65
#351A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#351A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A56
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A56#FFFFFF#000000##FFFFFF
##351A561.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#022855
Tritanopia (blue-blind)
#2E2735
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351a56;
/* rgb */ color: rgb(53, 26, 86);
/* oklch */ color: oklch(29.1% 0.104 300.8);
Tailwind
colors: {
  custom: {
    50: '#6f5886',
    500: '#351a56',
    950: '#000000',
  },
}
SCSS
$custom: #351a56;
$custom-light: #6f5886;
$custom-dark: #000000;
JSON
{
  "hex": "#351a56",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 267,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29062,
    "c": 0.10411,
    "h": 300.8
  },
  "luminance": 0.02168
}

Semantic roles & 50–950 ramp

primary
#351A56
secondary
#6A8C40
accent
#DD4B9B
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351A56

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

Preview Lab → · Contrast checker → · Palette generator →

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