#351E9F#351E9F

#351E9F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.191 H 279.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#351E9F
RGBrgb(53, 30, 159)
HSLhsl(251, 68%, 37%)
HSVhsv(251, 81%, 62%)
CMYKcmyk(66.7%, 81.1%, 0%, 37.6%)
CIE-LABlab(24.28, 47.19, -65.12)
CIE-LCHlch(24.28, 80.42, 305.93°)
OKLaboklab(36.84% 0.0319 -0.188)
OKLCHoklch(36.84% 0.191 279.6)
XYZxyz(8.1885, 4.1880, 33.1710)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E9F #889F1E
analogous
#1E479F #351E9F #761E9F
triadic
#351E9F #9F351E #1E9F35
tetradic
#351E9F #9F1E47 #889F1E #1E9F76
square
#351E9F #9F1E47 #889F1E #1E9F76
split-complementary
#351E9F #9F761E #479F1E
monochromatic
#130B38 #24146C #351E9F #4628D2 #7058DF

Accessibility & contrast

On white

11.43
#351E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#351E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E9F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E9F#FFFFFF#000000##FFFFFF
##351E9F1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #351e9f;
/* rgb */ color: rgb(53, 30, 159);
/* oklch */ color: oklch(36.8% 0.191 279.6);
Tailwind
colors: {
  custom: {
    50: '#7c5ebd',
    500: '#351e9f',
    950: '#000000',
  },
}
SCSS
$custom: #351e9f;
$custom-light: #7c5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#351e9f",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 250.698,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36844,
    "c": 0.1907,
    "h": 279.6
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #351E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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