#351AA7#351AA7

#351AA7 is a dark, highly saturated violet. Relative luminance 0.043; OKLCH L 37.3% C 0.203 H 278.8°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#351AA7
RGBrgb(53, 26, 167)
HSLhsl(251, 73%, 38%)
HSVhsv(251, 84%, 65%)
CMYKcmyk(68.3%, 84.4%, 0%, 34.5%)
CIE-LABlab(24.59, 51.32, -69.47)
CIE-LCHlch(24.59, 86.37, 306.45°)
OKLaboklab(37.32% 0.0311 -0.2006)
OKLCHoklch(37.32% 0.203 278.8)
XYZxyz(8.8104, 4.2849, 36.9145)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351AA7 #8CA71A
analogous
#1A46A7 #351AA7 #7B1AA7
triadic
#351AA7 #A7351A #1AA735
tetradic
#351AA7 #A71A46 #8CA71A #1AA77B
square
#351AA7 #A71A46 #8CA71A #1AA77B
split-complementary
#351AA7 #A77B1A #46A71A
monochromatic
#130A3D #241272 #351AA7 #4622DC #7257E5

Accessibility & contrast

On white

11.31
#351AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#351AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351AA7
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351AA7#FFFFFF#000000##FFFFFF
##351AA71.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0035A5
Tritanopia (blue-blind)
#004763
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #351aa7;
/* rgb */ color: rgb(53, 26, 167);
/* oklch */ color: oklch(37.3% 0.203 278.8);
Tailwind
colors: {
  custom: {
    50: '#7e5dc3',
    500: '#351aa7',
    950: '#000000',
  },
}
SCSS
$custom: #351aa7;
$custom-light: #7e5dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#351aa7",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 167
  },
  "hsl": {
    "h": 251.489,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37323,
    "c": 0.20301,
    "h": 278.8
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#351AA7
secondary
#B2C855
accent
#F038CD
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #351AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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