#351CA7#351CA7

#351CA7 is a dark, highly saturated violet. Relative luminance 0.044; OKLCH L 37.5% C 0.202 H 278.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#351CA7
RGBrgb(53, 28, 167)
HSLhsl(251, 71%, 38%)
HSVhsv(251, 83%, 65%)
CMYKcmyk(68.3%, 83.2%, 0%, 34.5%)
CIE-LABlab(24.88, 50.47, -68.99)
CIE-LCHlch(24.88, 85.49, 306.19°)
OKLaboklab(37.52% 0.0303 -0.1993)
OKLCHoklch(37.52% 0.202 278.6)
XYZxyz(8.8563, 4.3767, 36.9298)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351CA7 #8EA71C
analogous
#1C49A7 #351CA7 #7A1CA7
triadic
#351CA7 #A7351C #1CA735
tetradic
#351CA7 #A71C49 #8EA71C #1CA77A
square
#351CA7 #A71C49 #8EA71C #1CA77A
split-complementary
#351CA7 #A77A1C #49A71C
monochromatic
#140A3E #241373 #351CA7 #4626DB #735AE3

Accessibility & contrast

On white

11.20
#351CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#351CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351CA7
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351CA7#FFFFFF#000000##FFFFFF
##351CA71.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351ca7;
/* rgb */ color: rgb(53, 28, 167);
/* oklch */ color: oklch(37.5% 0.202 278.6);
Tailwind
colors: {
  custom: {
    50: '#7e5ec3',
    500: '#351ca7',
    950: '#000000',
  },
}
SCSS
$custom: #351ca7;
$custom-light: #7e5ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#351ca7",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 250.791,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37521,
    "c": 0.20155,
    "h": 278.6
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#351CA7
secondary
#B3C758
accent
#EE3ACE
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #351CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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