#351B57#351B57

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

Color values

HEX#351B57
RGBrgb(53, 27, 87)
HSLhsl(266, 53%, 22%)
HSVhsv(266, 69%, 34%)
CMYKcmyk(39.1%, 69%, 0%, 65.9%)
CIE-LABlab(16.64, 26.89, -31.66)
CIE-LCHlch(16.64, 41.54, 310.35°)
OKLaboklab(29.31% 0.0518 -0.09)
OKLCHoklch(29.31% 0.104 299.9)
XYZxyz(3.5800, 2.2288, 9.2566)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B57 #3D571B
analogous
#1B1F57 #351B57 #531B57
triadic
#351B57 #57351B #1B5735
tetradic
#351B57 #571B1F #3D571B #1B5753
square
#351B57 #571B1F #3D571B #1B5753
split-complementary
#351B57 #57531B #1F571B
monochromatic
#0E0717 #190D28 #351B57 #512986 #6E38B4

Accessibility & contrast

On white

14.52
#351B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#351B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B57
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B57#FFFFFF#000000##FFFFFF
##351B571.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351b57;
/* rgb */ color: rgb(53, 27, 87);
/* oklch */ color: oklch(29.3% 0.104 299.9);
Tailwind
colors: {
  custom: {
    50: '#6f5987',
    500: '#351b57',
    950: '#000000',
  },
}
SCSS
$custom: #351b57;
$custom-light: #6f5987;
$custom-dark: #000000;
JSON
{
  "hex": "#351b57",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 266,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29306,
    "c": 0.10387,
    "h": 299.9
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#351B57
secondary
#6C8D41
accent
#DC4C9E
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351B57

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

Preview Lab → · Contrast checker → · Palette generator →

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