#3F1EAE#3F1EAE

#3F1EAE is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.3% C 0.206 H 281.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3F1EAE
RGBrgb(63, 30, 174)
HSLhsl(254, 71%, 40%)
HSVhsv(254, 83%, 68%)
CMYKcmyk(63.8%, 82.8%, 0%, 31.8%)
CIE-LABlab(26.85, 52.53, -69.92)
CIE-LCHlch(26.85, 87.46, 306.92°)
OKLaboklab(39.33% 0.0422 -0.2017)
OKLCHoklch(39.33% 0.206 281.8)
XYZxyz(10.1518, 5.0405, 40.4741)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1EAE #8DAE1E
analogous
#1E45AE #3F1EAE #871EAE
triadic
#3F1EAE #AE3F1E #1EAE3F
tetradic
#3F1EAE #AE1E45 #8DAE1E #1EAE87
square
#3F1EAE #AE1E45 #8DAE1E #1EAE87
split-complementary
#3F1EAE #AE871E #45AE1E
monochromatic
#190C46 #2C157A #3F1EAE #562EDB #8062E4

Accessibility & contrast

On white

10.46
#3F1EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F1EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1EAE
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1EAE#FFFFFF#000000##FFFFFF
##3F1EAE1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#004B68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f1eae;
/* rgb */ color: rgb(63, 30, 174);
/* oklch */ color: oklch(39.3% 0.206 281.8);
Tailwind
colors: {
  custom: {
    50: '#8360c8',
    500: '#3f1eae',
    950: '#000000',
  },
}
SCSS
$custom: #3f1eae;
$custom-light: #8360c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1eae",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 174
  },
  "hsl": {
    "h": 253.75,
    "s": 70.588,
    "l": 40
  },
  "oklch": {
    "l": 0.39329,
    "c": 0.20611,
    "h": 281.8
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#3F1EAE
secondary
#B1C95F
accent
#ED3AC4
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3F1EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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