#351D96#351D96

#351D96 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.181 H 281.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#351D96
RGBrgb(53, 29, 150)
HSLhsl(252, 68%, 35%)
HSVhsv(252, 81%, 59%)
CMYKcmyk(64.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(23.13, 44.96, -61.51)
CIE-LCHlch(23.13, 76.19, 306.16°)
OKLaboklab(35.75% 0.0352 -0.1775)
OKLCHoklch(35.75% 0.181 281.2)
XYZxyz(7.4108, 3.8371, 29.1983)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D96 #7E961D
analogous
#1D4196 #351D96 #721D96
triadic
#351D96 #96351D #1D9635
tetradic
#351D96 #961D41 #7E961D #1D9672
square
#351D96 #961D41 #7E961D #1D9672
split-complementary
#351D96 #96721D #41961D
monochromatic
#11092F #231363 #351D96 #4727C9 #6C50DD

Accessibility & contrast

On white

11.88
#351D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#351D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D96
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D96#FFFFFF#000000##FFFFFF
##351D961.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351d96;
/* rgb */ color: rgb(53, 29, 150);
/* oklch */ color: oklch(35.7% 0.181 281.2);
Tailwind
colors: {
  custom: {
    50: '#7a5db6',
    500: '#351d96',
    950: '#000000',
  },
}
SCSS
$custom: #351d96;
$custom-light: #7a5db6;
$custom-dark: #000000;
JSON
{
  "hex": "#351d96",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 251.901,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35746,
    "c": 0.18096,
    "h": 281.2
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#351D96
secondary
#AAC04F
accent
#EA3DC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351D96

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

Preview Lab → · Contrast checker → · Palette generator →

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