#3F1C71#3F1C71

#3F1C71 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.137 H 297.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#3F1C71
RGBrgb(63, 28, 113)
HSLhsl(265, 60%, 28%)
HSVhsv(265, 75%, 44%)
CMYKcmyk(44.2%, 75.2%, 0%, 55.7%)
CIE-LABlab(20.36, 36.03, -42.69)
CIE-LCHlch(20.36, 55.86, 310.16°)
OKLaboklab(32.95% 0.0622 -0.1221)
OKLCHoklch(32.95% 0.137 297)
XYZxyz(5.4450, 3.0794, 15.9271)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1C71 #4E711C
analogous
#1C2371 #3F1C71 #6A1C71
triadic
#3F1C71 #713F1C #1C713F
tetradic
#3F1C71 #711C23 #4E711C #1C716A
square
#3F1C71 #711C23 #4E711C #1C716A
split-complementary
#3F1C71 #716A1C #23711C
monochromatic
#0E0619 #241040 #3F1C71 #5A28A2 #7739CE

Accessibility & contrast

On white

13.00
#3F1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3F1C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1C71
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1C71#FFFFFF#000000##FFFFFF
##3F1C711.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#323144
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3f1c71;
/* rgb */ color: rgb(63, 28, 113);
/* oklch */ color: oklch(32.9% 0.137 297.0);
Tailwind
colors: {
  custom: {
    50: '#795c9b',
    500: '#3f1c71',
    950: '#000000',
  },
}
SCSS
$custom: #3f1c71;
$custom-light: #795c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1c71",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 264.706,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32948,
    "c": 0.13699,
    "h": 297
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#3F1C71
secondary
#7DA643
accent
#E344A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1C71

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

Preview Lab → · Contrast checker → · Palette generator →

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