#351D97#351D97

#351D97 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.182 H 281.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#351D97
RGBrgb(53, 29, 151)
HSLhsl(252, 68%, 35%)
HSVhsv(252, 81%, 59%)
CMYKcmyk(64.9%, 80.8%, 0%, 40.8%)
CIE-LABlab(23.23, 45.26, -61.95)
CIE-LCHlch(23.23, 76.72, 306.15°)
OKLaboklab(35.85% 0.0349 -0.1788)
OKLCHoklch(35.85% 0.182 281)
XYZxyz(7.4917, 3.8694, 29.6242)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D97 #7F971D
analogous
#1D4297 #351D97 #721D97
triadic
#351D97 #97351D #1D9735
tetradic
#351D97 #971D42 #7F971D #1D9772
square
#351D97 #971D42 #7F971D #1D9772
split-complementary
#351D97 #97721D #42971D
monochromatic
#110930 #231364 #351D97 #4727CA #6D51DE

Accessibility & contrast

On white

11.84
#351D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351D97
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D97#FFFFFF#000000##FFFFFF
##351D971.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351d97;
/* rgb */ color: rgb(53, 29, 151);
/* oklch */ color: oklch(35.9% 0.182 281.0);
Tailwind
colors: {
  custom: {
    50: '#7a5db7',
    500: '#351d97',
    950: '#000000',
  },
}
SCSS
$custom: #351d97;
$custom-light: #7a5db7;
$custom-dark: #000000;
JSON
{
  "hex": "#351d97",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 251.803,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35855,
    "c": 0.18215,
    "h": 281
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#351D97
secondary
#AAC04F
accent
#EB3DC9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #351D97

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

Preview Lab → · Contrast checker → · Palette generator →

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