#3F1E88#3F1E88

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

Color values

HEX#3F1E88
RGBrgb(63, 30, 136)
HSLhsl(259, 64%, 33%)
HSVhsv(259, 78%, 53%)
CMYKcmyk(53.7%, 77.9%, 0%, 46.7%)
CIE-LABlab(22.87, 41.61, -53.20)
CIE-LCHlch(22.87, 67.54, 308.03°)
OKLaboklab(35.38% 0.0544 -0.1529)
OKLCHoklch(35.38% 0.162 289.6)
XYZxyz(6.9568, 3.7626, 23.6475)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1E88 #67881E
analogous
#1E3288 #3F1E88 #741E88
triadic
#3F1E88 #883F1E #1E883F
tetradic
#3F1E88 #881E32 #67881E #1E8874
square
#3F1E88 #881E32 #67881E #1E8874
split-complementary
#3F1E88 #88741E #32881E
monochromatic
#110824 #281356 #3F1E88 #5629BA #7649D7

Accessibility & contrast

On white

11.98
#3F1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1E88
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1E88#FFFFFF#000000##FFFFFF
##3F1E881.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#243C52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f1e88;
/* rgb */ color: rgb(63, 30, 136);
/* oklch */ color: oklch(35.4% 0.162 289.6);
Tailwind
colors: {
  custom: {
    50: '#7d5eac',
    500: '#3f1e88',
    950: '#000000',
  },
}
SCSS
$custom: #3f1e88;
$custom-light: #7d5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1e88",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 258.679,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35379,
    "c": 0.16229,
    "h": 289.6
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#3F1E88
secondary
#96B949
accent
#E741B3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3F1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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