#351CA0#351CA0

#351CA0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.194 H 279.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#351CA0
RGBrgb(53, 28, 160)
HSLhsl(251, 70%, 37%)
HSVhsv(251, 83%, 63%)
CMYKcmyk(66.9%, 82.5%, 0%, 37.3%)
CIE-LABlab(24.08, 48.41, -66.07)
CIE-LCHlch(24.08, 81.91, 306.23°)
OKLaboklab(36.74% 0.0325 -0.1907)
OKLCHoklch(36.74% 0.194 279.7)
XYZxyz(8.2266, 4.1248, 33.6135)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351CA0 #87A01C
analogous
#1C45A0 #351CA0 #771CA0
triadic
#351CA0 #A0351C #1CA035
tetradic
#351CA0 #A01C45 #87A01C #1CA077
square
#351CA0 #A01C45 #87A01C #1CA077
split-complementary
#351CA0 #A0771C #45A01C
monochromatic
#120A38 #24136C #351CA0 #4625D4 #7055E1

Accessibility & contrast

On white

11.51
#351CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#351CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351CA0
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351CA0#FFFFFF#000000##FFFFFF
##351CA01.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351ca0;
/* rgb */ color: rgb(53, 28, 160);
/* oklch */ color: oklch(36.7% 0.194 279.7);
Tailwind
colors: {
  custom: {
    50: '#7c5dbd',
    500: '#351ca0',
    950: '#000000',
  },
}
SCSS
$custom: #351ca0;
$custom-light: #7c5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#351ca0",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 251.364,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36736,
    "c": 0.1935,
    "h": 279.7
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#351CA0
secondary
#AFC453
accent
#ED3BCB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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