#351E99#351E99

#351E99 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.184 H 280.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#351E99
RGBrgb(53, 30, 153)
HSLhsl(251, 67%, 36%)
HSVhsv(251, 80%, 60%)
CMYKcmyk(65.4%, 80.4%, 0%, 40%)
CIE-LABlab(23.62, 45.39, -62.54)
CIE-LCHlch(23.62, 77.27, 305.97°)
OKLaboklab(36.19% 0.0337 -0.1805)
OKLCHoklch(36.19% 0.184 280.6)
XYZxyz(7.6804, 3.9847, 30.4952)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E99 #82991E
analogous
#1E4499 #351E99 #721E99
triadic
#351E99 #99351E #1E9935
tetradic
#351E99 #991E44 #82991E #1E9972
square
#351E99 #991E44 #82991E #1E9972
split-complementary
#351E99 #99721E #44991E
monochromatic
#120A33 #231466 #351E99 #4728CC #6E54DD

Accessibility & contrast

On white

11.69
#351E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#351E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E99
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E99#FFFFFF#000000##FFFFFF
##351E991.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #351e99;
/* rgb */ color: rgb(53, 30, 153);
/* oklch */ color: oklch(36.2% 0.184 280.6);
Tailwind
colors: {
  custom: {
    50: '#7b5eb8',
    500: '#351e99',
    950: '#000000',
  },
}
SCSS
$custom: #351e99;
$custom-light: #7b5eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#351e99",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 251.22,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36188,
    "c": 0.18364,
    "h": 280.6
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#351E99
secondary
#ACC152
accent
#EA3ECA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351E99

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

Preview Lab → · Contrast checker → · Palette generator →

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