#3517B4#3517B4

#3517B4 is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.6% C 0.219 H 277.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#3517B4
RGBrgb(53, 23, 180)
HSLhsl(251, 77%, 40%)
HSVhsv(251, 87%, 71%)
CMYKcmyk(70.6%, 87.2%, 0%, 29.4%)
CIE-LABlab(25.76, 56.14, -75.36)
CIE-LCHlch(25.76, 93.97, 306.69°)
OKLaboklab(38.57% 0.0277 -0.2176)
OKLCHoklch(38.57% 0.219 277.3)
XYZxyz(10.0101, 4.6640, 43.5439)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3517B4 #96B417
analogous
#1748B4 #3517B4 #8417B4
triadic
#3517B4 #B43517 #17B435
tetradic
#3517B4 #B41748 #96B417 #17B484
square
#3517B4 #B41748 #96B417 #17B484
split-complementary
#3517B4 #B48417 #48B417
monochromatic
#150947 #25107E #3517B4 #4925E3 #775BEA

Accessibility & contrast

On white

10.86
#3517B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3517B4
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3517B4#FFFFFF#000000##FFFFFF
##3517B41.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.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: #3517b4;
/* rgb */ color: rgb(53, 23, 180);
/* oklch */ color: oklch(38.6% 0.219 277.3);
Tailwind
colors: {
  custom: {
    50: '#815dcc',
    500: '#3517b4',
    950: '#000000',
  },
}
SCSS
$custom: #3517b4;
$custom-light: #815dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3517b4",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 251.465,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38565,
    "c": 0.2194,
    "h": 277.3
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

primary
#3517B4
secondary
#B7CE59
accent
#F434CF
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3517B4

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

Preview Lab → · Contrast checker → · Palette generator →

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