#3F1F83#3F1F83

#3F1F83 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.155 H 290.7°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#3F1F83
RGBrgb(63, 31, 131)
HSLhsl(259, 62%, 32%)
HSVhsv(259, 76%, 51%)
CMYKcmyk(51.9%, 76.3%, 0%, 48.6%)
CIE-LABlab(22.57, 39.64, -50.56)
CIE-LCHlch(22.57, 64.25, 308.10°)
OKLaboklab(35.02% 0.0549 -0.1452)
OKLCHoklch(35.02% 0.155 290.7)
XYZxyz(6.6354, 3.6752, 21.8281)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1F83 #63831F
analogous
#1F3183 #3F1F83 #711F83
triadic
#3F1F83 #833F1F #1F833F
tetradic
#3F1F83 #831F31 #63831F #1F8371
square
#3F1F83 #831F31 #63831F #1F8371
split-complementary
#3F1F83 #83711F #31831F
monochromatic
#0F0820 #271352 #3F1F83 #572BB4 #7549D4

Accessibility & contrast

On white

12.10
#3F1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3F1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1F83
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1F83#FFFFFF#000000##FFFFFF
##3F1F831.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#283A4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f1f83;
/* rgb */ color: rgb(63, 31, 131);
/* oklch */ color: oklch(35.0% 0.155 290.7);
Tailwind
colors: {
  custom: {
    50: '#7c5ea8',
    500: '#3f1f83',
    950: '#000000',
  },
}
SCSS
$custom: #3f1f83;
$custom-light: #7c5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1f83",
  "rgb": {
    "r": 63,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 259.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35019,
    "c": 0.15522,
    "h": 290.7
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#3F1F83
secondary
#93B648
accent
#E543B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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