#3517B3#3517B3

#3517B3 is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.4% C 0.218 H 277.4°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#3517B3
RGBrgb(53, 23, 179)
HSLhsl(252, 77%, 40%)
HSVhsv(252, 87%, 70%)
CMYKcmyk(70.4%, 87.2%, 0%, 29.8%)
CIE-LABlab(25.63, 55.87, -74.96)
CIE-LCHlch(25.63, 93.49, 306.70°)
OKLaboklab(38.45% 0.0281 -0.2165)
OKLCHoklch(38.45% 0.218 277.4)
XYZxyz(9.9086, 4.6234, 43.0093)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3517B3 #95B317
analogous
#1747B3 #3517B3 #8317B3
triadic
#3517B3 #B33517 #17B335
tetradic
#3517B3 #B31747 #95B317 #17B383
square
#3517B3 #B31747 #95B317 #17B383
split-complementary
#3517B3 #B38317 #47B317
monochromatic
#150947 #25107D #3517B3 #4924E3 #765BEA

Accessibility & contrast

On white

10.91
#3517B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3517B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3517B3
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3517B3#FFFFFF#000000##FFFFFF
##3517B31.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3517b3;
/* rgb */ color: rgb(53, 23, 179);
/* oklch */ color: oklch(38.4% 0.218 277.4);
Tailwind
colors: {
  custom: {
    50: '#815dcb',
    500: '#3517b3',
    950: '#000000',
  },
}
SCSS
$custom: #3517b3;
$custom-light: #815dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3517b3",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 251.538,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38448,
    "c": 0.2183,
    "h": 277.4
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3517B3

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

Preview Lab → · Contrast checker → · Palette generator →

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