#351CA8#351CA8

#351CA8 is a dark, highly saturated violet. Relative luminance 0.044; OKLCH L 37.6% C 0.203 H 278.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#351CA8
RGBrgb(53, 28, 168)
HSLhsl(251, 71%, 38%)
HSVhsv(251, 83%, 66%)
CMYKcmyk(68.5%, 83.3%, 0%, 34.1%)
CIE-LABlab(24.99, 50.76, -69.41)
CIE-LCHlch(24.99, 85.99, 306.18°)
OKLaboklab(37.63% 0.03 -0.2005)
OKLCHoklch(37.63% 0.203 278.5)
XYZxyz(8.9491, 4.4138, 37.4185)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351CA8 #8FA81C
analogous
#1C49A8 #351CA8 #7B1CA8
triadic
#351CA8 #A8351C #1CA835
tetradic
#351CA8 #A81C49 #8FA81C #1CA87B
square
#351CA8 #A81C49 #8FA81C #1CA87B
split-complementary
#351CA8 #A87B1C #49A81C
monochromatic
#140B3F #241374 #351CA8 #4726DB #735BE4

Accessibility & contrast

On white

11.15
#351CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351CA8
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351CA8#FFFFFF#000000##FFFFFF
##351CA81.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #351ca8;
/* rgb */ color: rgb(53, 28, 168);
/* oklch */ color: oklch(37.6% 0.203 278.5);
Tailwind
colors: {
  custom: {
    50: '#7e5ec3',
    500: '#351ca8',
    950: '#000000',
  },
}
SCSS
$custom: #351ca8;
$custom-light: #7e5ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#351ca8",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 250.714,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37634,
    "c": 0.20269,
    "h": 278.5
  },
  "luminance": 0.04415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #351CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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