#351D9C#351D9C

#351D9C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.188 H 280.2°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#351D9C
RGBrgb(53, 29, 156)
HSLhsl(251, 69%, 36%)
HSVhsv(251, 81%, 61%)
CMYKcmyk(66%, 81.4%, 0%, 38.8%)
CIE-LABlab(23.79, 46.77, -64.11)
CIE-LCHlch(23.79, 79.35, 306.11°)
OKLaboklab(36.4% 0.0333 -0.1851)
OKLCHoklch(36.4% 0.188 280.2)
XYZxyz(7.9064, 4.0353, 31.8083)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D9C #849C1D
analogous
#1D449C #351D9C #751D9C
triadic
#351D9C #9C351D #1D9C35
tetradic
#351D9C #9C1D44 #849C1D #1D9C75
square
#351D9C #9C1D44 #849C1D #1D9C75
split-complementary
#351D9C #9C751D #449C1D
monochromatic
#120A35 #231368 #351D9C #4727D0 #6E54DF

Accessibility & contrast

On white

11.62
#351D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#351D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D9C
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D9C#FFFFFF#000000##FFFFFF
##351D9C1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351d9c;
/* rgb */ color: rgb(53, 29, 156);
/* oklch */ color: oklch(36.4% 0.188 280.2);
Tailwind
colors: {
  custom: {
    50: '#7b5eba',
    500: '#351d9c',
    950: '#000000',
  },
}
SCSS
$custom: #351d9c;
$custom-light: #7b5eba;
$custom-dark: #000000;
JSON
{
  "hex": "#351d9c",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 251.339,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36402,
    "c": 0.18803,
    "h": 280.2
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#351D9C
secondary
#ADC252
accent
#EB3CCA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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