#351CA6#351CA6

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

Color values

HEX#351CA6
RGBrgb(53, 28, 166)
HSLhsl(251, 71%, 38%)
HSVhsv(251, 83%, 65%)
CMYKcmyk(68.1%, 83.1%, 0%, 34.9%)
CIE-LABlab(24.76, 50.18, -68.58)
CIE-LCHlch(24.76, 84.98, 306.19°)
OKLaboklab(37.41% 0.0306 -0.198)
OKLCHoklch(37.41% 0.2 278.8)
XYZxyz(8.7642, 4.3398, 36.4448)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351CA6 #8DA61C
analogous
#1C48A6 #351CA6 #7A1CA6
triadic
#351CA6 #A6351C #1CA635
tetradic
#351CA6 #A61C48 #8DA61C #1CA67A
square
#351CA6 #A61C48 #8DA61C #1CA67A
split-complementary
#351CA6 #A67A1C #48A61C
monochromatic
#140A3D #241372 #351CA6 #4625DA #7259E3

Accessibility & contrast

On white

11.24
#351CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#351CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351CA6
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351CA6#FFFFFF#000000##FFFFFF
##351CA61.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #351ca6;
/* rgb */ color: rgb(53, 28, 166);
/* oklch */ color: oklch(37.4% 0.200 278.8);
Tailwind
colors: {
  custom: {
    50: '#7e5ec2',
    500: '#351ca6',
    950: '#000000',
  },
}
SCSS
$custom: #351ca6;
$custom-light: #7e5ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#351ca6",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 250.87,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37408,
    "c": 0.2004,
    "h": 278.8
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

primary
#351CA6
secondary
#B2C757
accent
#EE3ACD
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #351CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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