#3F1FAE#3F1FAE

#3F1FAE is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.4% C 0.205 H 281.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#3F1FAE
RGBrgb(63, 31, 174)
HSLhsl(253, 70%, 40%)
HSVhsv(253, 82%, 68%)
CMYKcmyk(63.8%, 82.2%, 0%, 31.8%)
CIE-LABlab(27.00, 52.11, -69.68)
CIE-LCHlch(27.00, 87.01, 306.79°)
OKLaboklab(39.43% 0.0418 -0.201)
OKLCHoklch(39.43% 0.205 281.7)
XYZxyz(10.1775, 5.0920, 40.4827)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1FAE #8EAE1F
analogous
#1F46AE #3F1FAE #871FAE
triadic
#3F1FAE #AE3F1F #1FAE3F
tetradic
#3F1FAE #AE1F46 #8EAE1F #1FAE87
square
#3F1FAE #AE1F46 #8EAE1F #1FAE87
split-complementary
#3F1FAE #AE871F #46AE1F
monochromatic
#190C46 #2C167A #3F1FAE #5630DA #8164E3

Accessibility & contrast

On white

10.40
#3F1FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3F1FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1FAE
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1FAE#FFFFFF#000000##FFFFFF
##3F1FAE1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f1fae;
/* rgb */ color: rgb(63, 31, 174);
/* oklch */ color: oklch(39.4% 0.205 281.7);
Tailwind
colors: {
  custom: {
    50: '#8361c8',
    500: '#3f1fae',
    950: '#000000',
  },
}
SCSS
$custom: #3f1fae;
$custom-light: #8361c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1fae",
  "rgb": {
    "r": 63,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 253.427,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3943,
    "c": 0.20534,
    "h": 281.7
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#3F1FAE
secondary
#B1C860
accent
#ED3BC5
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3F1FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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