#3F1D82#3F1D82

#3F1D82 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.156 H 291.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#3F1D82
RGBrgb(63, 29, 130)
HSLhsl(260, 64%, 31%)
HSVhsv(260, 78%, 51%)
CMYKcmyk(51.5%, 77.7%, 0%, 49%)
CIE-LABlab(22.11, 40.37, -50.67)
CIE-LCHlch(22.11, 64.79, 308.55°)
OKLaboklab(34.67% 0.0569 -0.1455)
OKLCHoklch(34.67% 0.156 291.4)
XYZxyz(6.5174, 3.5469, 21.4560)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1D82 #60821D
analogous
#1D2D82 #3F1D82 #711D82
triadic
#3F1D82 #823F1D #1D823F
tetradic
#3F1D82 #821D2D #60821D #1D8271
square
#3F1D82 #821D2D #60821D #1D8271
split-complementary
#3F1D82 #82711D #2D821D
monochromatic
#0F071E #271250 #3F1D82 #5728B4 #7544D5

Accessibility & contrast

On white

12.29
#3F1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3F1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1D82
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1D82#FFFFFF#000000##FFFFFF
##3F1D821.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#28394E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f1d82;
/* rgb */ color: rgb(63, 29, 130);
/* oklch */ color: oklch(34.7% 0.156 291.4);
Tailwind
colors: {
  custom: {
    50: '#7c5da7',
    500: '#3f1d82',
    950: '#000000',
  },
}
SCSS
$custom: #3f1d82;
$custom-light: #7c5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1d82",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 260.198,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3467,
    "c": 0.15623,
    "h": 291.4
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#3F1D82
secondary
#90B546
accent
#E741AF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3F1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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