#3F1D96#3F1D96

#3F1D96 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.180 H 286.4°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#3F1D96
RGBrgb(63, 29, 150)
HSLhsl(257, 68%, 35%)
HSVhsv(257, 81%, 59%)
CMYKcmyk(58%, 80.7%, 0%, 41.2%)
CIE-LABlab(24.12, 46.13, -59.84)
CIE-LCHlch(24.12, 75.56, 307.63°)
OKLaboklab(36.68% 0.0508 -0.1723)
OKLCHoklch(36.68% 0.18 286.4)
XYZxyz(7.9926, 4.1370, 29.2256)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1D96 #74961D
analogous
#1D3796 #3F1D96 #7C1D96
triadic
#3F1D96 #963F1D #1D963F
tetradic
#3F1D96 #961D37 #74961D #1D967C
square
#3F1D96 #961D37 #74961D #1D967C
split-complementary
#3F1D96 #967C1D #37961D
monochromatic
#14092F #291363 #3F1D96 #5527C9 #7850DD

Accessibility & contrast

On white

11.49
#3F1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3F1D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1D96
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1D96#FFFFFF#000000##FFFFFF
##3F1D961.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#14415A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3f1d96;
/* rgb */ color: rgb(63, 29, 150);
/* oklch */ color: oklch(36.7% 0.180 286.4);
Tailwind
colors: {
  custom: {
    50: '#7f5eb6',
    500: '#3f1d96',
    950: '#000000',
  },
}
SCSS
$custom: #3f1d96;
$custom-light: #7f5eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1d96",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 256.86,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36677,
    "c": 0.17966,
    "h": 286.4
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#3F1D96
secondary
#A0C04F
accent
#EA3DBA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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