#3515A1#3515A1

#3515A1 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.2% C 0.200 H 280.1°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#3515A1
RGBrgb(53, 21, 161)
HSLhsl(254, 77%, 36%)
HSVhsv(254, 87%, 63%)
CMYKcmyk(67.1%, 87%, 0%, 36.9%)
CIE-LABlab(23.22, 51.58, -68.10)
CIE-LCHlch(23.22, 85.42, 307.14°)
OKLaboklab(36.18% 0.0351 -0.1965)
OKLCHoklch(36.18% 0.2 280.1)
XYZxyz(8.1673, 3.8658, 34.0271)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3515A1 #81A115
analogous
#153BA1 #3515A1 #7B15A1
triadic
#3515A1 #A13515 #15A135
tetradic
#3515A1 #A1153B #81A115 #15A17B
square
#3515A1 #A1153B #81A115 #15A17B
split-complementary
#3515A1 #A17B15 #3BA115
monochromatic
#110735 #230E6B #3515A1 #471CD7 #6D49E7

Accessibility & contrast

On white

11.84
#3515A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3515A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3515A1
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3515A1#FFFFFF#000000##FFFFFF
##3515A11.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#00435F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3515a1;
/* rgb */ color: rgb(53, 21, 161);
/* oklch */ color: oklch(36.2% 0.200 280.1);
Tailwind
colors: {
  custom: {
    50: '#7d5abe',
    500: '#3515a1',
    950: '#000000',
  },
}
SCSS
$custom: #3515a1;
$custom-light: #7d5abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3515a1",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 253.714,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36182,
    "c": 0.19964,
    "h": 280.1
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#3515A1
secondary
#ABC849
accent
#F334C8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3515A1

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

Preview Lab → · Contrast checker → · Palette generator →

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