#3F1D79#3F1D79

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

Color values

HEX#3F1D79
RGBrgb(63, 29, 121)
HSLhsl(262, 61%, 29%)
HSVhsv(262, 76%, 47%)
CMYKcmyk(47.9%, 76%, 0%, 52.5%)
CIE-LABlab(21.27, 37.78, -46.35)
CIE-LCHlch(21.27, 59.79, 309.19°)
OKLaboklab(33.81% 0.0593 -0.1328)
OKLCHoklch(33.81% 0.145 294)
XYZxyz(5.9395, 3.3158, 18.4125)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1D79 #57791D
analogous
#1D2979 #3F1D79 #6D1D79
triadic
#3F1D79 #793F1D #1D793F
tetradic
#3F1D79 #791D29 #57791D #1D796D
square
#3F1D79 #791D29 #57791D #1D796D
split-complementary
#3F1D79 #796D1D #29791D
monochromatic
#0D0619 #251148 #3F1D79 #5929AA #753FD1

Accessibility & contrast

On white

12.63
#3F1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1D79
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1D79#FFFFFF#000000##FFFFFF
##3F1D791.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#2E3549
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3f1d79;
/* rgb */ color: rgb(63, 29, 121);
/* oklch */ color: oklch(33.8% 0.145 294.0);
Tailwind
colors: {
  custom: {
    50: '#7a5da1',
    500: '#3f1d79',
    950: '#000000',
  },
}
SCSS
$custom: #3f1d79;
$custom-light: #7a5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1d79",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 262.174,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33814,
    "c": 0.14544,
    "h": 294
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#3F1D79
secondary
#86AD45
accent
#E443A9
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3F1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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