#3518A5#3518A5

#3518A5 is a dark, highly saturated violet. Relative luminance 0.041; OKLCH L 36.9% C 0.202 H 279.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#3518A5
RGBrgb(53, 24, 165)
HSLhsl(252, 75%, 37%)
HSVhsv(252, 85%, 65%)
CMYKcmyk(67.9%, 85.5%, 0%, 35.3%)
CIE-LABlab(24.08, 51.56, -69.10)
CIE-LCHlch(24.08, 86.22, 306.73°)
OKLaboklab(36.91% 0.0326 -0.1995)
OKLCHoklch(36.91% 0.202 279.3)
XYZxyz(8.5842, 4.1260, 35.9340)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3518A5 #88A518
analogous
#1842A5 #3518A5 #7B18A5
triadic
#3518A5 #A53518 #18A535
tetradic
#3518A5 #A51842 #88A518 #18A57B
square
#3518A5 #A51842 #88A518 #18A57B
split-complementary
#3518A5 #A57B18 #42A518
monochromatic
#13083A #241070 #3518A5 #4620DA #7052E6

Accessibility & contrast

On white

11.50
#3518A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3518A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3518A5
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3518A5#FFFFFF#000000##FFFFFF
##3518A51.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA9
Deuteranopia (green-blind)
#0034A3
Tritanopia (blue-blind)
#004661
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3518a5;
/* rgb */ color: rgb(53, 24, 165);
/* oklch */ color: oklch(36.9% 0.202 279.3);
Tailwind
colors: {
  custom: {
    50: '#7e5cc1',
    500: '#3518a5',
    950: '#000000',
  },
}
SCSS
$custom: #3518a5;
$custom-light: #7e5cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3518a5",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 165
  },
  "hsl": {
    "h": 252.34,
    "s": 74.603,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36907,
    "c": 0.20214,
    "h": 279.3
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#3518A5
secondary
#B0C851
accent
#F137CB
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3518A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3518A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva