#351DA1#351DA1

#351DA1 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.194 H 279.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#351DA1
RGBrgb(53, 29, 161)
HSLhsl(251, 69%, 37%)
HSVhsv(251, 82%, 63%)
CMYKcmyk(67.1%, 82%, 0%, 36.9%)
CIE-LABlab(24.35, 48.26, -66.23)
CIE-LCHlch(24.35, 81.95, 306.08°)
OKLaboklab(36.95% 0.0317 -0.1912)
OKLCHoklch(36.95% 0.194 279.4)
XYZxyz(8.3385, 4.2081, 34.0841)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351DA1 #89A11D
analogous
#1D47A1 #351DA1 #771DA1
triadic
#351DA1 #A1351D #1DA135
tetradic
#351DA1 #A11D47 #89A11D #1DA177
square
#351DA1 #A11D47 #89A11D #1DA177
split-complementary
#351DA1 #A1771D #47A11D
monochromatic
#130A39 #24146D #351DA1 #4626D5 #7158E1

Accessibility & contrast

On white

11.40
#351DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351DA1
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351DA1#FFFFFF#000000##FFFFFF
##351DA11.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.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: #351da1;
/* rgb */ color: rgb(53, 29, 161);
/* oklch */ color: oklch(37.0% 0.194 279.4);
Tailwind
colors: {
  custom: {
    50: '#7c5ebe',
    500: '#351da1',
    950: '#000000',
  },
}
SCSS
$custom: #351da1;
$custom-light: #7c5ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#351da1",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 250.909,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36954,
    "c": 0.19387,
    "h": 279.4
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#351DA1
secondary
#B0C455
accent
#EC3CCC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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