#351EA1#351EA1

#351EA1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.193 H 279.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#351EA1
RGBrgb(53, 30, 161)
HSLhsl(251, 69%, 37%)
HSVhsv(251, 81%, 63%)
CMYKcmyk(67.1%, 81.4%, 0%, 36.9%)
CIE-LABlab(24.51, 47.80, -65.97)
CIE-LCHlch(24.51, 81.46, 305.92°)
OKLaboklab(37.06% 0.0313 -0.1905)
OKLCHoklch(37.06% 0.193 279.3)
XYZxyz(8.3634, 4.2579, 34.0924)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351EA1 #8AA11E
analogous
#1E49A1 #351EA1 #761EA1
triadic
#351EA1 #A1351E #1EA135
tetradic
#351EA1 #A11E49 #8AA11E #1EA176
square
#351EA1 #A11E49 #8AA11E #1EA176
split-complementary
#351EA1 #A1761E #49A11E
monochromatic
#130B3A #24146D #351EA1 #4628D5 #7159E0

Accessibility & contrast

On white

11.34
#351EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#351EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351EA1
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351EA1#FFFFFF#000000##FFFFFF
##351EA11.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #351ea1;
/* rgb */ color: rgb(53, 30, 161);
/* oklch */ color: oklch(37.1% 0.193 279.3);
Tailwind
colors: {
  custom: {
    50: '#7c5fbe',
    500: '#351ea1',
    950: '#000000',
  },
}
SCSS
$custom: #351ea1;
$custom-light: #7c5fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#351ea1",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 250.534,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37064,
    "c": 0.19305,
    "h": 279.3
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#351EA1
secondary
#B1C457
accent
#EB3CCD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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