#3518A8#3518A8

#3518A8 is a dark, highly saturated violet. Relative luminance 0.042; OKLCH L 37.3% C 0.205 H 278.8°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#3518A8
RGBrgb(53, 24, 168)
HSLhsl(252, 75%, 38%)
HSVhsv(252, 86%, 66%)
CMYKcmyk(68.5%, 85.7%, 0%, 34.1%)
CIE-LABlab(24.44, 52.41, -70.33)
CIE-LCHlch(24.44, 87.71, 306.69°)
OKLaboklab(37.25% 0.0315 -0.2031)
OKLCHoklch(37.25% 0.206 278.8)
XYZxyz(8.8604, 4.2365, 37.3890)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3518A8 #8BA818
analogous
#1843A8 #3518A8 #7D18A8
triadic
#3518A8 #A83518 #18A835
tetradic
#3518A8 #A81843 #8BA818 #18A87D
square
#3518A8 #A81843 #8BA818 #18A87D
split-complementary
#3518A8 #A87D18 #43A818
monochromatic
#13093D #241072 #3518A8 #4620DE #7154E7

Accessibility & contrast

On white

11.37
#3518A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3518A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3518A8
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3518A8#FFFFFF#000000##FFFFFF
##3518A81.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004763
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3518a8;
/* rgb */ color: rgb(53, 24, 168);
/* oklch */ color: oklch(37.3% 0.205 278.8);
Tailwind
colors: {
  custom: {
    50: '#7e5cc3',
    500: '#3518a8',
    950: '#000000',
  },
}
SCSS
$custom: #3518a8;
$custom-light: #7e5cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3518a8",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 168
  },
  "hsl": {
    "h": 252.083,
    "s": 75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37253,
    "c": 0.2055,
    "h": 278.8
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#3518A8
secondary
#B1C953
accent
#F236CC
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0413
muted
#7D7982

Preview Lab

Preview with #3518A8

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

Preview Lab → · Contrast checker → · Palette generator →

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