#3518A1#3518A1

#3518A1 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.198 H 279.9°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#3518A1
RGBrgb(53, 24, 161)
HSLhsl(253, 74%, 36%)
HSVhsv(253, 85%, 63%)
CMYKcmyk(67.1%, 85.1%, 0%, 36.9%)
CIE-LABlab(23.61, 50.41, -67.45)
CIE-LCHlch(23.61, 84.21, 306.78°)
OKLaboklab(36.45% 0.034 -0.1947)
OKLCHoklch(36.45% 0.198 279.9)
XYZxyz(8.2258, 3.9827, 34.0466)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3518A1 #84A118
analogous
#1840A1 #3518A1 #7A18A1
triadic
#3518A1 #A13518 #18A135
tetradic
#3518A1 #A11840 #84A118 #18A17A
square
#3518A1 #A11840 #84A118 #18A17A
split-complementary
#3518A1 #A17A18 #40A118
monochromatic
#120836 #23106C #3518A1 #4720D6 #6E4FE5

Accessibility & contrast

On white

11.69
#3518A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3518A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3518A1
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3518A1#FFFFFF#000000##FFFFFF
##3518A11.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00339F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3518a1;
/* rgb */ color: rgb(53, 24, 161);
/* oklch */ color: oklch(36.4% 0.198 279.9);
Tailwind
colors: {
  custom: {
    50: '#7d5cbe',
    500: '#3518a1',
    950: '#000000',
  },
}
SCSS
$custom: #3518a1;
$custom-light: #7d5cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3518a1",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 252.701,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36449,
    "c": 0.19764,
    "h": 279.9
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#3518A1
secondary
#ADC74E
accent
#F137C9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3518A1

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

Preview Lab → · Contrast checker → · Palette generator →

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