#351E9B#351E9B

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

Color values

HEX#351E9B
RGBrgb(53, 30, 155)
HSLhsl(251, 68%, 36%)
HSVhsv(251, 81%, 61%)
CMYKcmyk(65.8%, 80.6%, 0%, 39.2%)
CIE-LABlab(23.84, 45.99, -63.41)
CIE-LCHlch(23.84, 78.33, 305.95°)
OKLaboklab(36.41% 0.0331 -0.183)
OKLCHoklch(36.41% 0.186 280.2)
XYZxyz(7.8470, 4.0514, 31.3725)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E9B #849B1E
analogous
#1E469B #351E9B #741E9B
triadic
#351E9B #9B351E #1E9B35
tetradic
#351E9B #9B1E46 #849B1E #1E9B74
square
#351E9B #9B1E46 #849B1E #1E9B74
split-complementary
#351E9B #9B741E #469B1E
monochromatic
#120A34 #231468 #351E9B #4728CE #6E55DE

Accessibility & contrast

On white

11.60
#351E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351E9B
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E9B#FFFFFF#000000##FFFFFF
##351E9B1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351e9b;
/* rgb */ color: rgb(53, 30, 155);
/* oklch */ color: oklch(36.4% 0.186 280.2);
Tailwind
colors: {
  custom: {
    50: '#7b5eba',
    500: '#351e9b',
    950: '#000000',
  },
}
SCSS
$custom: #351e9b;
$custom-light: #7b5eba;
$custom-dark: #000000;
JSON
{
  "hex": "#351e9b",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 251.04,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36406,
    "c": 0.186,
    "h": 280.2
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#351E9B
secondary
#ADC253
accent
#EA3DCB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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