#3F1D94#3F1D94

#3F1D94 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.177 H 286.9°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#3F1D94
RGBrgb(63, 29, 148)
HSLhsl(257, 67%, 35%)
HSVhsv(257, 80%, 58%)
CMYKcmyk(57.4%, 80.4%, 0%, 42%)
CIE-LABlab(23.91, 45.55, -58.95)
CIE-LCHlch(23.91, 74.50, 307.69°)
OKLaboklab(36.47% 0.0514 -0.1697)
OKLCHoklch(36.47% 0.177 286.9)
XYZxyz(7.8330, 4.0732, 28.3847)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1D94 #72941D
analogous
#1D3694 #3F1D94 #7B1D94
triadic
#3F1D94 #943F1D #1D943F
tetradic
#3F1D94 #941D36 #72941D #1D947B
square
#3F1D94 #941D36 #72941D #1D947B
split-complementary
#3F1D94 #947B1D #36941D
monochromatic
#13092E #291361 #3F1D94 #5527C7 #774FDC

Accessibility & contrast

On white

11.57
#3F1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3F1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1D94
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1D94#FFFFFF#000000##FFFFFF
##3F1D941.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#174058
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3f1d94;
/* rgb */ color: rgb(63, 29, 148);
/* oklch */ color: oklch(36.5% 0.177 286.9);
Tailwind
colors: {
  custom: {
    50: '#7f5eb5',
    500: '#3f1d94',
    950: '#000000',
  },
}
SCSS
$custom: #3f1d94;
$custom-light: #7f5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1d94",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 257.143,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36471,
    "c": 0.17735,
    "h": 286.9
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#3F1D94
secondary
#9FBF4E
accent
#EA3EB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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