#3F1E73#3F1E73

#3F1E73 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.137 H 295.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#3F1E73
RGBrgb(63, 30, 115)
HSLhsl(263, 59%, 28%)
HSVhsv(263, 74%, 45%)
CMYKcmyk(45.2%, 73.9%, 0%, 54.9%)
CIE-LABlab(20.92, 35.53, -43.07)
CIE-LCHlch(20.92, 55.84, 309.52°)
OKLaboklab(33.4% 0.0596 -0.1232)
OKLCHoklch(33.4% 0.137 295.8)
XYZxyz(5.6079, 3.2230, 16.5430)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1E73 #52731E
analogous
#1E2773 #3F1E73 #691E73
triadic
#3F1E73 #733F1E #1E733F
tetradic
#3F1E73 #731E27 #52731E #1E7369
square
#3F1E73 #731E27 #52731E #1E7369
split-complementary
#3F1E73 #73691E #27731E
monochromatic
#0D0618 #241142 #3F1E73 #5A2BA4 #763FCD

Accessibility & contrast

On white

12.77
#3F1E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3F1E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1E73
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1E73#FFFFFF#000000##FFFFFF
##3F1E731.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1e73;
/* rgb */ color: rgb(63, 30, 115);
/* oklch */ color: oklch(33.4% 0.137 295.8);
Tailwind
colors: {
  custom: {
    50: '#795d9c',
    500: '#3f1e73',
    950: '#000000',
  },
}
SCSS
$custom: #3f1e73;
$custom-light: #795d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1e73",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 263.294,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33398,
    "c": 0.13688,
    "h": 295.8
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

primary
#3F1E73
secondary
#81A746
accent
#E246A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1E73

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

Preview Lab → · Contrast checker → · Palette generator →

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