#3516B4#3516B4

#3516B4 is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.5% C 0.220 H 277.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#3516B4
RGBrgb(53, 22, 180)
HSLhsl(252, 78%, 40%)
HSVhsv(252, 88%, 71%)
CMYKcmyk(70.6%, 87.8%, 0%, 29.4%)
CIE-LABlab(25.64, 56.49, -75.55)
CIE-LCHlch(25.64, 94.34, 306.79°)
OKLaboklab(38.49% 0.028 -0.2182)
OKLCHoklch(38.49% 0.22 277.3)
XYZxyz(9.9907, 4.6251, 43.5374)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3516B4 #95B416
analogous
#1646B4 #3516B4 #8416B4
triadic
#3516B4 #B43516 #16B435
tetradic
#3516B4 #B41646 #95B416 #16B484
square
#3516B4 #B41646 #95B416 #16B484
split-complementary
#3516B4 #B48416 #46B416
monochromatic
#150947 #250F7D #3516B4 #4923E4 #765AEB

Accessibility & contrast

On white

10.91
#3516B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3516B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3516B4
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3516B4#FFFFFF#000000##FFFFFF
##3516B41.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3516b4;
/* rgb */ color: rgb(53, 22, 180);
/* oklch */ color: oklch(38.5% 0.220 277.3);
Tailwind
colors: {
  custom: {
    50: '#815ccc',
    500: '#3516b4',
    950: '#000000',
  },
}
SCSS
$custom: #3516b4;
$custom-light: #815ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3516b4",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 251.772,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38486,
    "c": 0.21997,
    "h": 277.3
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#3516B4
secondary
#B7CE58
accent
#F533CF
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3516B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3516B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva