#3F1E77#3F1E77

#3F1E77 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.142 H 294.5°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#3F1E77
RGBrgb(63, 30, 119)
HSLhsl(262, 60%, 29%)
HSVhsv(262, 75%, 47%)
CMYKcmyk(47.1%, 74.8%, 0%, 53.3%)
CIE-LABlab(21.27, 36.68, -45.06)
CIE-LCHlch(21.27, 58.10, 309.15°)
OKLaboklab(33.76% 0.0588 -0.129)
OKLCHoklch(33.76% 0.142 294.5)
XYZxyz(5.8430, 3.3171, 17.7816)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1E77 #56771E
analogous
#1E2A77 #3F1E77 #6C1E77
triadic
#3F1E77 #773F1E #1E773F
tetradic
#3F1E77 #771E2A #56771E #1E776C
square
#3F1E77 #771E2A #56771E #1E776C
split-complementary
#3F1E77 #776C1E #2A771E
monochromatic
#0D0618 #251246 #3F1E77 #592AA8 #7540CF

Accessibility & contrast

On white

12.62
#3F1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3F1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1E77
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1E77#FFFFFF#000000##FFFFFF
##3F1E771.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#2F3548
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3f1e77;
/* rgb */ color: rgb(63, 30, 119);
/* oklch */ color: oklch(33.8% 0.142 294.5);
Tailwind
colors: {
  custom: {
    50: '#7a5d9f',
    500: '#3f1e77',
    950: '#000000',
  },
}
SCSS
$custom: #3f1e77;
$custom-light: #7a5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1e77",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 262.247,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33761,
    "c": 0.1418,
    "h": 294.5
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#3F1E77
secondary
#85AB46
accent
#E345A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3F1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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