#3F1C73#3F1C73

#3F1C73 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.139 H 296.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#3F1C73
RGBrgb(63, 28, 115)
HSLhsl(264, 61%, 28%)
HSVhsv(264, 76%, 45%)
CMYKcmyk(45.2%, 75.7%, 0%, 54.9%)
CIE-LABlab(20.54, 36.59, -43.69)
CIE-LCHlch(20.54, 56.99, 309.95°)
OKLaboklab(33.13% 0.0617 -0.125)
OKLCHoklch(33.13% 0.139 296.3)
XYZxyz(5.5588, 3.1250, 16.5266)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1C73 #50731C
analogous
#1C2473 #3F1C73 #6A1C73
triadic
#3F1C73 #733F1C #1C733F
tetradic
#3F1C73 #731C24 #50731C #1C736A
square
#3F1C73 #731C24 #50731C #1C736A
split-complementary
#3F1C73 #736A1C #24731C
monochromatic
#0D0619 #241042 #3F1C73 #5A28A4 #763ACF

Accessibility & contrast

On white

12.92
#3F1C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3F1C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1C73
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1C73#FFFFFF#000000##FFFFFF
##3F1C731.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#313245
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3f1c73;
/* rgb */ color: rgb(63, 28, 115);
/* oklch */ color: oklch(33.1% 0.139 296.3);
Tailwind
colors: {
  custom: {
    50: '#7a5c9c',
    500: '#3f1c73',
    950: '#000000',
  },
}
SCSS
$custom: #3f1c73;
$custom-light: #7a5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1c73",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 264.138,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3313,
    "c": 0.1394,
    "h": 296.3
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

primary
#3F1C73
secondary
#7FA743
accent
#E444A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1C73

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

Preview Lab → · Contrast checker → · Palette generator →

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