#351E9E#351E9E

#351E9E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.190 H 279.8°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#351E9E
RGBrgb(53, 30, 158)
HSLhsl(251, 68%, 37%)
HSVhsv(251, 81%, 62%)
CMYKcmyk(66.5%, 81%, 0%, 38%)
CIE-LABlab(24.17, 46.89, -64.69)
CIE-LCHlch(24.17, 79.90, 305.94°)
OKLaboklab(36.73% 0.0322 -0.1868)
OKLCHoklch(36.73% 0.19 279.8)
XYZxyz(8.1021, 4.1534, 32.7158)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E9E #879E1E
analogous
#1E479E #351E9E #751E9E
triadic
#351E9E #9E351E #1E9E35
tetradic
#351E9E #9E1E47 #879E1E #1E9E75
square
#351E9E #9E1E47 #879E1E #1E9E75
split-complementary
#351E9E #9E751E #479E1E
monochromatic
#120A37 #24146B #351E9E #4628D1 #7057DF

Accessibility & contrast

On white

11.47
#351E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#351E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E9E
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E9E#FFFFFF#000000##FFFFFF
##351E9E1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351e9e;
/* rgb */ color: rgb(53, 30, 158);
/* oklch */ color: oklch(36.7% 0.190 279.8);
Tailwind
colors: {
  custom: {
    50: '#7c5ebc',
    500: '#351e9e',
    950: '#000000',
  },
}
SCSS
$custom: #351e9e;
$custom-light: #7c5ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#351e9e",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 250.781,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36734,
    "c": 0.18953,
    "h": 279.8
  },
  "luminance": 0.04154
}

Semantic roles & 50–950 ramp

primary
#351E9E
secondary
#AFC355
accent
#EB3DCC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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