#351D85#351D85

#351D85 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.160 H 284.5°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#351D85
RGBrgb(53, 29, 133)
HSLhsl(254, 64%, 32%)
HSVhsv(254, 78%, 52%)
CMYKcmyk(60.2%, 78.2%, 0%, 47.8%)
CIE-LABlab(21.32, 39.78, -53.91)
CIE-LCHlch(21.32, 67.00, 306.42°)
OKLaboklab(33.94% 0.0402 -0.1553)
OKLCHoklch(33.94% 0.16 284.5)
XYZxyz(6.1399, 3.3287, 22.5047)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D85 #6D851D
analogous
#1D3985 #351D85 #691D85
triadic
#351D85 #85351D #1D8535
tetradic
#351D85 #851D39 #6D851D #1D8569
square
#351D85 #851D39 #6D851D #1D8569
split-complementary
#351D85 #85691D #39851D
monochromatic
#0D0721 #211253 #351D85 #4928B7 #6746D7

Accessibility & contrast

On white

12.61
#351D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#351D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D85
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D85#FFFFFF#000000##FFFFFF
##351D851.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#063B50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #351d85;
/* rgb */ color: rgb(53, 29, 133);
/* oklch */ color: oklch(33.9% 0.160 284.5);
Tailwind
colors: {
  custom: {
    50: '#775caa',
    500: '#351d85',
    950: '#000000',
  },
}
SCSS
$custom: #351d85;
$custom-light: #775caa;
$custom-dark: #000000;
JSON
{
  "hex": "#351d85",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 253.846,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.16045,
    "h": 284.5
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#351D85
secondary
#9EB846
accent
#E741C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351D85

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

Preview Lab → · Contrast checker → · Palette generator →

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