#3F1BA1#3F1BA1

#3F1BA1 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.194 H 284.4°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#3F1BA1
RGBrgb(63, 27, 161)
HSLhsl(256, 71%, 37%)
HSVhsv(256, 83%, 63%)
CMYKcmyk(60.9%, 83.2%, 0%, 36.9%)
CIE-LABlab(24.99, 50.12, -65.14)
CIE-LCHlch(24.99, 82.19, 307.58°)
OKLaboklab(37.63% 0.0482 -0.1877)
OKLCHoklch(37.63% 0.194 284.4)
XYZxyz(8.8729, 4.4133, 34.0956)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1BA1 #7DA11B
analogous
#1B3AA1 #3F1BA1 #821BA1
triadic
#3F1BA1 #A13F1B #1BA13F
tetradic
#3F1BA1 #A11B3A #7DA11B #1BA182
square
#3F1BA1 #A11B3A #7DA11B #1BA182
split-complementary
#3F1BA1 #A1821B #3AA11B
monochromatic
#160938 #2A126D #3F1BA1 #5424D5 #7A54E2

Accessibility & contrast

On white

11.15
#3F1BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3F1BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1BA1
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1BA1#FFFFFF#000000##FFFFFF
##3F1BA11.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1ba1;
/* rgb */ color: rgb(63, 27, 161);
/* oklch */ color: oklch(37.6% 0.194 284.4);
Tailwind
colors: {
  custom: {
    50: '#815ebe',
    500: '#3f1ba1',
    950: '#000000',
  },
}
SCSS
$custom: #3f1ba1;
$custom-light: #815ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1ba1",
  "rgb": {
    "r": 63,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 256.119,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3763,
    "c": 0.19385,
    "h": 284.4
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#3F1BA1
secondary
#A6C552
accent
#EE3ABE
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3F1BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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