#3717A1#3717A1

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

Color values

HEX#3717A1
RGBrgb(55, 23, 161)
HSLhsl(254, 75%, 36%)
HSVhsv(254, 86%, 63%)
CMYKcmyk(65.8%, 85.7%, 0%, 36.9%)
CIE-LABlab(23.66, 50.98, -67.36)
CIE-LCHlch(23.66, 84.48, 307.12°)
OKLaboklab(36.53% 0.0375 -0.1944)
OKLCHoklch(36.53% 0.198 280.9)
XYZxyz(8.3129, 3.9976, 34.0448)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3717A1 #81A117
analogous
#173CA1 #3717A1 #7C17A1
triadic
#3717A1 #A13717 #17A137
tetradic
#3717A1 #A1173C #81A117 #17A17C
square
#3717A1 #A1173C #81A117 #17A17C
split-complementary
#3717A1 #A17C17 #3CA117
monochromatic
#120836 #250F6B #3717A1 #491FD7 #704DE6

Accessibility & contrast

On white

11.67
#3717A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3717A1
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3717A1#FFFFFF#000000##FFFFFF
##3717A11.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.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: #3717a1;
/* rgb */ color: rgb(55, 23, 161);
/* oklch */ color: oklch(36.5% 0.198 280.9);
Tailwind
colors: {
  custom: {
    50: '#7e5bbe',
    500: '#3717a1',
    950: '#000000',
  },
}
SCSS
$custom: #3717a1;
$custom-light: #7e5bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3717a1",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 253.913,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36528,
    "c": 0.19796,
    "h": 280.9
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#3717A1
secondary
#ABC74C
accent
#F236C6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3717A1

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

Preview Lab → · Contrast checker → · Palette generator →

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