#3F1AA1#3F1AA1

#3F1AA1 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.195 H 284.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#3F1AA1
RGBrgb(63, 26, 161)
HSLhsl(256, 72%, 37%)
HSVhsv(256, 84%, 63%)
CMYKcmyk(60.9%, 83.9%, 0%, 36.9%)
CIE-LABlab(24.85, 50.53, -65.37)
CIE-LCHlch(24.85, 82.62, 307.71°)
OKLaboklab(37.53% 0.0488 -0.1884)
OKLCHoklch(37.53% 0.195 284.5)
XYZxyz(8.8503, 4.3682, 34.0881)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1AA1 #7CA11A
analogous
#1A39A1 #3F1AA1 #831AA1
triadic
#3F1AA1 #A13F1A #1AA13F
tetradic
#3F1AA1 #A11A39 #7CA11A #1AA183
square
#3F1AA1 #A11A39 #7CA11A #1AA183
split-complementary
#3F1AA1 #A1831A #39A11A
monochromatic
#160938 #2A116C #3F1AA1 #5423D6 #7A52E3

Accessibility & contrast

On white

11.21
#3F1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3F1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1AA1
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1AA1#FFFFFF#000000##FFFFFF
##3F1AA11.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f1aa1;
/* rgb */ color: rgb(63, 26, 161);
/* oklch */ color: oklch(37.5% 0.195 284.5);
Tailwind
colors: {
  custom: {
    50: '#815dbe',
    500: '#3f1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #3f1aa1;
$custom-light: #815dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1aa1",
  "rgb": {
    "r": 63,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 256.444,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37534,
    "c": 0.19462,
    "h": 284.5
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#3F1AA1
secondary
#A6C651
accent
#EF39BD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3F1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

#3F1AA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva