#351D79#351D79

#351D79 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.145 H 287.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#351D79
RGBrgb(53, 29, 121)
HSLhsl(256, 61%, 29%)
HSVhsv(256, 76%, 47%)
CMYKcmyk(56.2%, 76%, 0%, 52.5%)
CIE-LABlab(20.11, 36.08, -48.29)
CIE-LCHlch(20.11, 60.28, 306.76°)
OKLaboklab(32.73% 0.0434 -0.1389)
OKLCHoklch(32.73% 0.146 287.4)
XYZxyz(5.3577, 3.0158, 18.3853)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D79 #61791D
analogous
#1D3379 #351D79 #631D79
triadic
#351D79 #79351D #1D7935
tetradic
#351D79 #791D33 #61791D #1D7963
square
#351D79 #791D33 #61791D #1D7963
split-complementary
#351D79 #79631D #33791D
monochromatic
#0B0619 #1F1148 #351D79 #4B29AA #653FD1

Accessibility & contrast

On white

13.10
#351D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#351D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D79
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D79#FFFFFF#000000##FFFFFF
##351D791.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#193649
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351d79;
/* rgb */ color: rgb(53, 29, 121);
/* oklch */ color: oklch(32.7% 0.145 287.4);
Tailwind
colors: {
  custom: {
    50: '#745ca1',
    500: '#351d79',
    950: '#000000',
  },
}
SCSS
$custom: #351d79;
$custom-light: #745ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#351d79",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 255.652,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32725,
    "c": 0.1455,
    "h": 287.4
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#351D79
secondary
#92AD45
accent
#E443BA
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351D79

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

Preview Lab → · Contrast checker → · Palette generator →

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