#3917A0#3917A0

#3917A0 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.6% C 0.197 H 282.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#3917A0
RGBrgb(57, 23, 160)
HSLhsl(255, 75%, 36%)
HSVhsv(255, 86%, 63%)
CMYKcmyk(64.4%, 85.6%, 0%, 37.3%)
CIE-LABlab(23.74, 50.87, -66.62)
CIE-LCHlch(23.74, 83.82, 307.37°)
OKLaboklab(36.59% 0.041 -0.1922)
OKLCHoklch(36.59% 0.197 282)
XYZxyz(8.3369, 4.0201, 33.5875)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3917A0 #7EA017
analogous
#1739A0 #3917A0 #7D17A0
triadic
#3917A0 #A03917 #17A039
tetradic
#3917A0 #A01739 #7EA017 #17A07D
square
#3917A0 #A01739 #7EA017 #17A07D
split-complementary
#3917A0 #A07D17 #39A017
monochromatic
#130835 #260F6A #3917A0 #4C1FD6 #724CE5

Accessibility & contrast

On white

11.64
#3917A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3917A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3917A0
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3917A0#FFFFFF#000000##FFFFFF
##3917A01.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3917a0;
/* rgb */ color: rgb(57, 23, 160);
/* oklch */ color: oklch(36.6% 0.197 282.0);
Tailwind
colors: {
  custom: {
    50: '#7e5bbd',
    500: '#3917a0',
    950: '#000000',
  },
}
SCSS
$custom: #3917a0;
$custom-light: #7e5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3917a0",
  "rgb": {
    "r": 57,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 254.891,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36592,
    "c": 0.19651,
    "h": 282
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#3917A0
secondary
#A8C74C
accent
#F136C3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3917A0

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

Preview Lab → · Contrast checker → · Palette generator →

#3917A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva