#3915A0#3915A0

#3915A0 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.4% C 0.198 H 282.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#3915A0
RGBrgb(57, 21, 160)
HSLhsl(256, 77%, 35%)
HSVhsv(256, 87%, 63%)
CMYKcmyk(64.4%, 86.9%, 0%, 37.3%)
CIE-LABlab(23.48, 51.63, -67.04)
CIE-LCHlch(23.48, 84.62, 307.60°)
OKLaboklab(36.42% 0.0419 -0.1934)
OKLCHoklch(36.42% 0.198 282.2)
XYZxyz(8.2987, 3.9436, 33.5748)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3915A0 #7CA015
analogous
#1536A0 #3915A0 #7F15A0
triadic
#3915A0 #A03915 #15A039
tetradic
#3915A0 #A01536 #7CA015 #15A07F
square
#3915A0 #A01536 #7CA015 #15A07F
split-complementary
#3915A0 #A07F15 #36A015
monochromatic
#120734 #260E6A #3915A0 #4C1CD6 #7148E7

Accessibility & contrast

On white

11.74
#3915A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3915A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3915A0
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3915A0#FFFFFF#000000##FFFFFF
##3915A01.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3915a0;
/* rgb */ color: rgb(57, 21, 160);
/* oklch */ color: oklch(36.4% 0.198 282.2);
Tailwind
colors: {
  custom: {
    50: '#7f5bbd',
    500: '#3915a0',
    950: '#000000',
  },
}
SCSS
$custom: #3915a0;
$custom-light: #7f5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3915a0",
  "rgb": {
    "r": 57,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 255.54,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36419,
    "c": 0.19785,
    "h": 282.2
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#3915A0
secondary
#A7C849
accent
#F334C2
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3915A0

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

Preview Lab → · Contrast checker → · Palette generator →

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