#351CAB#351CAB

#351CAB is a dark, highly saturated violet. Relative luminance 0.045; OKLCH L 38.0% C 0.206 H 278.1°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#351CAB
RGBrgb(53, 28, 171)
HSLhsl(250, 72%, 39%)
HSVhsv(250, 84%, 67%)
CMYKcmyk(69%, 83.6%, 0%, 32.9%)
CIE-LABlab(25.34, 51.64, -70.64)
CIE-LCHlch(25.34, 87.50, 306.17°)
OKLaboklab(37.97% 0.029 -0.204)
OKLCHoklch(37.97% 0.206 278.1)
XYZxyz(9.2318, 4.5269, 38.9074)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351CAB #92AB1C
analogous
#1C4AAB #351CAB #7D1CAB
triadic
#351CAB #AB351C #1CAB35
tetradic
#351CAB #AB1C4A #92AB1C #1CAB7D
square
#351CAB #AB1C4A #92AB1C #1CAB7D
split-complementary
#351CAB #AB7D1C #4AAB1C
monochromatic
#140B42 #251376 #351CAB #4828DC #755DE4

Accessibility & contrast

On white

11.02
#351CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#351CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351CAB
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351CAB#FFFFFF#000000##FFFFFF
##351CAB1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AF
Deuteranopia (green-blind)
#0036A9
Tritanopia (blue-blind)
#004A66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #351cab;
/* rgb */ color: rgb(53, 28, 171);
/* oklch */ color: oklch(38.0% 0.206 278.1);
Tailwind
colors: {
  custom: {
    50: '#7f5ec5',
    500: '#351cab',
    950: '#000000',
  },
}
SCSS
$custom: #351cab;
$custom-light: #7f5ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#351cab",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 171
  },
  "hsl": {
    "h": 250.49,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37974,
    "c": 0.2061,
    "h": 278.1
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#351CAB
secondary
#B5C95A
accent
#EF39CF
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #351CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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