#3F1F89#3F1F89

#3F1F89 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.162 H 289.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#3F1F89
RGBrgb(63, 31, 137)
HSLhsl(258, 63%, 33%)
HSVhsv(258, 77%, 54%)
CMYKcmyk(54%, 77.4%, 0%, 46.3%)
CIE-LABlab(23.14, 41.40, -53.38)
CIE-LCHlch(23.14, 67.55, 307.80°)
OKLaboklab(35.6% 0.0533 -0.1534)
OKLCHoklch(35.6% 0.162 289.1)
XYZxyz(7.0539, 3.8425, 24.0321)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1F89 #69891F
analogous
#1F3489 #3F1F89 #741F89
triadic
#3F1F89 #893F1F #1F893F
tetradic
#3F1F89 #891F34 #69891F #1F8974
square
#3F1F89 #891F34 #69891F #1F8974
split-complementary
#3F1F89 #89741F #34891F
monochromatic
#110825 #281457 #3F1F89 #562ABB #764CD6

Accessibility & contrast

On white

11.87
#3F1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3F1F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1F89
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1F89#FFFFFF#000000##FFFFFF
##3F1F891.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#233C53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f1f89;
/* rgb */ color: rgb(63, 31, 137);
/* oklch */ color: oklch(35.6% 0.162 289.1);
Tailwind
colors: {
  custom: {
    50: '#7d5eac',
    500: '#3f1f89',
    950: '#000000',
  },
}
SCSS
$custom: #3f1f89;
$custom-light: #7d5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1f89",
  "rgb": {
    "r": 63,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 258.113,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35601,
    "c": 0.16243,
    "h": 289.1
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#3F1F89
secondary
#98B94B
accent
#E642B4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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