#3717B4#3717B4

#3717B4 is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.7% C 0.219 H 278.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#3717B4
RGBrgb(55, 23, 180)
HSLhsl(252, 77%, 40%)
HSVhsv(252, 87%, 71%)
CMYKcmyk(69.4%, 87.2%, 0%, 29.4%)
CIE-LABlab(25.92, 56.27, -75.08)
CIE-LCHlch(25.92, 93.83, 306.85°)
OKLaboklab(38.72% 0.0307 -0.2168)
OKLCHoklch(38.72% 0.219 278.1)
XYZxyz(10.1175, 4.7194, 43.5489)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3717B4 #94B417
analogous
#1746B4 #3717B4 #8517B4
triadic
#3717B4 #B43717 #17B437
tetradic
#3717B4 #B41746 #94B417 #17B485
square
#3717B4 #B41746 #94B417 #17B485
split-complementary
#3717B4 #B48517 #46B417
monochromatic
#160947 #26107E #3717B4 #4C25E3 #785BEA

Accessibility & contrast

On white

10.80
#3717B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3717B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3717B4
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3717B4#FFFFFF#000000##FFFFFF
##3717B41.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3717b4;
/* rgb */ color: rgb(55, 23, 180);
/* oklch */ color: oklch(38.7% 0.219 278.1);
Tailwind
colors: {
  custom: {
    50: '#825dcc',
    500: '#3717b4',
    950: '#000000',
  },
}
SCSS
$custom: #3717b4;
$custom-light: #825dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3717b4",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 252.229,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38719,
    "c": 0.21895,
    "h": 278.1
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#3717B4
secondary
#B6CE59
accent
#F434CD
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3717B4

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

Preview Lab → · Contrast checker → · Palette generator →

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