#3F1D89#3F1D89

#3F1D89 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.165 H 289.5°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#3F1D89
RGBrgb(63, 29, 137)
HSLhsl(259, 65%, 33%)
HSVhsv(259, 79%, 54%)
CMYKcmyk(54%, 78.8%, 0%, 46.3%)
CIE-LABlab(22.80, 42.39, -53.95)
CIE-LCHlch(22.80, 68.61, 308.16°)
OKLaboklab(35.36% 0.0549 -0.1551)
OKLCHoklch(35.36% 0.165 289.5)
XYZxyz(7.0033, 3.7413, 24.0152)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1D89 #67891D
analogous
#1D3189 #3F1D89 #751D89
triadic
#3F1D89 #893F1D #1D893F
tetradic
#3F1D89 #891D31 #67891D #1D8975
square
#3F1D89 #891D31 #67891D #1D8975
split-complementary
#3F1D89 #89751D #31891D
monochromatic
#110824 #281256 #3F1D89 #5628BC #7648D8

Accessibility & contrast

On white

12.01
#3F1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3F1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1D89
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1D89#FFFFFF#000000##FFFFFF
##3F1D891.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#233C52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f1d89;
/* rgb */ color: rgb(63, 29, 137);
/* oklch */ color: oklch(35.4% 0.165 289.5);
Tailwind
colors: {
  custom: {
    50: '#7d5dac',
    500: '#3f1d89',
    950: '#000000',
  },
}
SCSS
$custom: #3f1d89;
$custom-light: #7d5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1d89",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 258.889,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35358,
    "c": 0.16452,
    "h": 289.5
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#3F1D89
secondary
#96BA47
accent
#E840B3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #3F1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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