#3F1E95#3F1E95

#3F1E95 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.178 H 286.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#3F1E95
RGBrgb(63, 30, 149)
HSLhsl(257, 66%, 35%)
HSVhsv(257, 80%, 58%)
CMYKcmyk(57.7%, 79.9%, 0%, 41.6%)
CIE-LABlab(24.18, 45.37, -59.13)
CIE-LCHlch(24.18, 74.53, 307.50°)
OKLaboklab(36.69% 0.0504 -0.1703)
OKLCHoklch(36.69% 0.178 286.5)
XYZxyz(7.9374, 4.1548, 28.8116)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1E95 #74951E
analogous
#1E3895 #3F1E95 #7B1E95
triadic
#3F1E95 #953F1E #1E953F
tetradic
#3F1E95 #951E38 #74951E #1E957B
square
#3F1E95 #951E38 #74951E #1E957B
split-complementary
#3F1E95 #957B1E #38951E
monochromatic
#14092F #291462 #3F1E95 #5528C8 #7851DC

Accessibility & contrast

On white

11.47
#3F1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3F1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1E95
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1E95#FFFFFF#000000##FFFFFF
##3F1E951.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#154159
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3f1e95;
/* rgb */ color: rgb(63, 30, 149);
/* oklch */ color: oklch(36.7% 0.178 286.5);
Tailwind
colors: {
  custom: {
    50: '#7f5fb5',
    500: '#3f1e95',
    950: '#000000',
  },
}
SCSS
$custom: #3f1e95;
$custom-light: #7f5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1e95",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 256.639,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36686,
    "c": 0.17758,
    "h": 286.5
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

primary
#3F1E95
secondary
#A0BF50
accent
#E93EBA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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