#351B6F#351B6F

#351B6F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.135 H 290.6°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#351B6F
RGBrgb(53, 27, 111)
HSLhsl(259, 61%, 27%)
HSVhsv(259, 76%, 44%)
CMYKcmyk(52.3%, 75.7%, 0%, 56.5%)
CIE-LABlab(18.75, 34.11, -44.08)
CIE-LCHlch(18.75, 55.73, 307.74°)
OKLaboklab(31.47% 0.0477 -0.1265)
OKLCHoklch(31.47% 0.135 290.6)
XYZxyz(4.7286, 2.6883, 15.3056)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B6F #556F1B
analogous
#1B2B6F #351B6F #5F1B6F
triadic
#351B6F #6F351B #1B6F35
tetradic
#351B6F #6F1B2B #556F1B #1B6F5F
square
#351B6F #6F1B2B #556F1B #1B6F5F
split-complementary
#351B6F #6F5F1B #2B6F1B
monochromatic
#0C0619 #1D0F3E #351B6F #4D27A0 #6536CE

Accessibility & contrast

On white

13.66
#351B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#351B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B6F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B6F#FFFFFF#000000##FFFFFF
##351B6F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#213143
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351b6f;
/* rgb */ color: rgb(53, 27, 111);
/* oklch */ color: oklch(31.5% 0.135 290.6);
Tailwind
colors: {
  custom: {
    50: '#735a99',
    500: '#351b6f',
    950: '#000000',
  },
}
SCSS
$custom: #351b6f;
$custom-light: #735a99;
$custom-dark: #000000;
JSON
{
  "hex": "#351b6f",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 258.571,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31469,
    "c": 0.13521,
    "h": 290.6
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#351B6F
secondary
#86A442
accent
#E444B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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