#351D82#351D82

#351D82 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.157 H 285.2°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#351D82
RGBrgb(53, 29, 130)
HSLhsl(254, 64%, 31%)
HSVhsv(254, 78%, 51%)
CMYKcmyk(59.2%, 77.7%, 0%, 49%)
CIE-LABlab(21.01, 38.86, -52.53)
CIE-LCHlch(21.01, 65.34, 306.49°)
OKLaboklab(33.63% 0.041 -0.1513)
OKLCHoklch(33.63% 0.157 285.2)
XYZxyz(5.9356, 3.2470, 21.4287)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D82 #6A821D
analogous
#1D3782 #351D82 #671D82
triadic
#351D82 #82351D #1D8235
tetradic
#351D82 #821D37 #6A821D #1D8267
square
#351D82 #821D37 #6A821D #1D8267
split-complementary
#351D82 #82671D #37821D
monochromatic
#0C071E #211250 #351D82 #4928B4 #6744D5

Accessibility & contrast

On white

12.73
#351D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#351D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D82
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D82#FFFFFF#000000##FFFFFF
##351D821.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#0C394E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #351d82;
/* rgb */ color: rgb(53, 29, 130);
/* oklch */ color: oklch(33.6% 0.157 285.2);
Tailwind
colors: {
  custom: {
    50: '#765ca7',
    500: '#351d82',
    950: '#000000',
  },
}
SCSS
$custom: #351d82;
$custom-light: #765ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#351d82",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 254.257,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33633,
    "c": 0.15675,
    "h": 285.2
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#351D82
secondary
#9BB546
accent
#E741BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #351D82

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

Preview Lab → · Contrast checker → · Palette generator →

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