#351D7E#351D7E

#351D7E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.152 H 286.1°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#351D7E
RGBrgb(53, 29, 126)
HSLhsl(255, 63%, 30%)
HSVhsv(255, 77%, 49%)
CMYKcmyk(57.9%, 77%, 0%, 50.6%)
CIE-LABlab(20.60, 37.62, -50.66)
CIE-LCHlch(20.60, 63.10, 306.60°)
OKLaboklab(33.23% 0.0421 -0.1458)
OKLCHoklch(33.23% 0.152 286.1)
XYZxyz(5.6723, 3.1417, 20.0421)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D7E #667E1D
analogous
#1D367E #351D7E #651D7E
triadic
#351D7E #7E351D #1D7E35
tetradic
#351D7E #7E1D36 #667E1D #1D7E65
square
#351D7E #7E1D36 #667E1D #1D7E65
split-complementary
#351D7E #7E651D #367E1D
monochromatic
#0B061B #20124C #351D7E #4A28B0 #6642D3

Accessibility & contrast

On white

12.90
#351D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#351D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D7E
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D7E#FFFFFF#000000##FFFFFF
##351D7E1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#13384C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #351d7e;
/* rgb */ color: rgb(53, 29, 126);
/* oklch */ color: oklch(33.2% 0.152 286.1);
Tailwind
colors: {
  custom: {
    50: '#755ca4',
    500: '#351d7e',
    950: '#000000',
  },
}
SCSS
$custom: #351d7e;
$custom-light: #755ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#351d7e",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 254.845,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33226,
    "c": 0.15178,
    "h": 286.1
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#351D7E
secondary
#97B145
accent
#E642BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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