#351E96#351E96

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

Color values

HEX#351E96
RGBrgb(53, 30, 150)
HSLhsl(252, 67%, 35%)
HSVhsv(252, 80%, 59%)
CMYKcmyk(64.7%, 80%, 0%, 41.2%)
CIE-LABlab(23.29, 44.47, -61.24)
CIE-LCHlch(23.29, 75.68, 305.99°)
OKLaboklab(35.86% 0.0346 -0.1767)
OKLCHoklch(35.86% 0.18 281.1)
XYZxyz(7.4358, 3.8869, 29.2066)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E96 #7F961E
analogous
#1E4396 #351E96 #711E96
triadic
#351E96 #96351E #1E9635
tetradic
#351E96 #961E43 #7F961E #1E9671
square
#351E96 #961E43 #7F961E #1E9671
split-complementary
#351E96 #96711E #43961E
monochromatic
#110A30 #231463 #351E96 #4728C9 #6D52DC

Accessibility & contrast

On white

11.82
#351E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#351E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E96
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E96#FFFFFF#000000##FFFFFF
##351E961.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #351e96;
/* rgb */ color: rgb(53, 30, 150);
/* oklch */ color: oklch(35.9% 0.180 281.1);
Tailwind
colors: {
  custom: {
    50: '#7a5eb6',
    500: '#351e96',
    950: '#000000',
  },
}
SCSS
$custom: #351e96;
$custom-light: #7a5eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#351e96",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 251.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35864,
    "c": 0.18006,
    "h": 281.1
  },
  "luminance": 0.03887
}

Semantic roles & 50–950 ramp

primary
#351E96
secondary
#AABF50
accent
#EA3EC9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351E96

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

Preview Lab → · Contrast checker → · Palette generator →

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