#3F1D73#3F1D73

#3F1D73 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.138 H 296.0°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#3F1D73
RGBrgb(63, 29, 115)
HSLhsl(264, 60%, 28%)
HSVhsv(264, 75%, 45%)
CMYKcmyk(45.2%, 74.8%, 0%, 54.9%)
CIE-LABlab(20.72, 36.07, -43.38)
CIE-LCHlch(20.72, 56.42, 309.74°)
OKLaboklab(33.26% 0.0607 -0.1241)
OKLCHoklch(33.26% 0.138 296)
XYZxyz(5.5830, 3.1732, 16.5347)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1D73 #51731D
analogous
#1D2673 #3F1D73 #6A1D73
triadic
#3F1D73 #733F1D #1D733F
tetradic
#3F1D73 #731D26 #51731D #1D736A
square
#3F1D73 #731D26 #51731D #1D736A
split-complementary
#3F1D73 #736A1D #26731D
monochromatic
#0D0618 #241142 #3F1D73 #5A29A4 #763CCE

Accessibility & contrast

On white

12.85
#3F1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1D73
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1D73#FFFFFF#000000##FFFFFF
##3F1D731.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#313346
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3f1d73;
/* rgb */ color: rgb(63, 29, 115);
/* oklch */ color: oklch(33.3% 0.138 296.0);
Tailwind
colors: {
  custom: {
    50: '#795c9c',
    500: '#3f1d73',
    950: '#000000',
  },
}
SCSS
$custom: #3f1d73;
$custom-light: #795c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1d73",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 263.721,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33263,
    "c": 0.13815,
    "h": 296
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#3F1D73
secondary
#80A745
accent
#E345A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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