#351C96#351C96

#351C96 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.182 H 281.3°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#351C96
RGBrgb(53, 28, 150)
HSLhsl(252, 69%, 35%)
HSVhsv(252, 81%, 59%)
CMYKcmyk(64.7%, 81.3%, 0%, 41.2%)
CIE-LABlab(22.96, 45.44, -61.79)
CIE-LCHlch(22.96, 76.70, 306.33°)
OKLaboklab(35.63% 0.0357 -0.1783)
OKLCHoklch(35.63% 0.182 281.3)
XYZxyz(7.3867, 3.7888, 29.1903)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C96 #7D961C
analogous
#1C4096 #351C96 #721C96
triadic
#351C96 #96351C #1C9635
tetradic
#351C96 #961C40 #7D961C #1C9672
square
#351C96 #961C40 #7D961C #1C9672
split-complementary
#351C96 #96721C #40961C
monochromatic
#11092F #231262 #351C96 #4726CA #6C4EDE

Accessibility & contrast

On white

11.95
#351C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#351C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C96
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C96#FFFFFF#000000##FFFFFF
##351C961.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351c96;
/* rgb */ color: rgb(53, 28, 150);
/* oklch */ color: oklch(35.6% 0.182 281.3);
Tailwind
colors: {
  custom: {
    50: '#7a5db6',
    500: '#351c96',
    950: '#000000',
  },
}
SCSS
$custom: #351c96;
$custom-light: #7a5db6;
$custom-dark: #000000;
JSON
{
  "hex": "#351c96",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 252.295,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35632,
    "c": 0.18183,
    "h": 281.3
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#351C96
secondary
#A9C14D
accent
#EB3CC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351C96

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

Preview Lab → · Contrast checker → · Palette generator →

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