#351B7F#351B7F

#351B7F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.155 H 286.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#351B7F
RGBrgb(53, 27, 127)
HSLhsl(256, 65%, 30%)
HSVhsv(256, 79%, 50%)
CMYKcmyk(58.3%, 78.7%, 0%, 50.2%)
CIE-LABlab(20.33, 38.99, -51.74)
CIE-LCHlch(20.33, 64.78, 307.00°)
OKLaboklab(33.07% 0.0434 -0.149)
OKLCHoklch(33.07% 0.155 286.2)
XYZxyz(5.6897, 3.0727, 20.3678)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B7F #657F1B
analogous
#1B337F #351B7F #671B7F
triadic
#351B7F #7F351B #1B7F35
tetradic
#351B7F #7F1B33 #657F1B #1B7F67
square
#351B7F #7F1B33 #657F1B #1B7F67
split-complementary
#351B7F #7F671B #337F1B
monochromatic
#0B061A #20104D #351B7F #4A26B1 #663ED6

Accessibility & contrast

On white

13.01
#351B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#351B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B7F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B7F#FFFFFF#000000##FFFFFF
##351B7F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#12374C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351b7f;
/* rgb */ color: rgb(53, 27, 127);
/* oklch */ color: oklch(33.1% 0.155 286.2);
Tailwind
colors: {
  custom: {
    50: '#765ba5',
    500: '#351b7f',
    950: '#000000',
  },
}
SCSS
$custom: #351b7f;
$custom-light: #765ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#351b7f",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 255.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33067,
    "c": 0.15515,
    "h": 286.2
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#351B7F
secondary
#96B343
accent
#E840BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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