#3F1E94#3F1E94

#3F1E94 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.176 H 286.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#3F1E94
RGBrgb(63, 30, 148)
HSLhsl(257, 66%, 35%)
HSVhsv(257, 80%, 58%)
CMYKcmyk(57.4%, 79.7%, 0%, 42%)
CIE-LABlab(24.07, 45.08, -58.68)
CIE-LCHlch(24.07, 74.00, 307.53°)
OKLaboklab(36.58% 0.0508 -0.169)
OKLCHoklch(36.58% 0.176 286.7)
XYZxyz(7.8579, 4.1230, 28.3930)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1E94 #73941E
analogous
#1E3894 #3F1E94 #7A1E94
triadic
#3F1E94 #943F1E #1E943F
tetradic
#3F1E94 #941E38 #73941E #1E947A
square
#3F1E94 #941E38 #73941E #1E947A
split-complementary
#3F1E94 #947A1E #38941E
monochromatic
#14092E #291461 #3F1E94 #5528C7 #7851DC

Accessibility & contrast

On white

11.51
#3F1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3F1E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1E94
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1E94#FFFFFF#000000##FFFFFF
##3F1E941.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#174059
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3f1e94;
/* rgb */ color: rgb(63, 30, 148);
/* oklch */ color: oklch(36.6% 0.176 286.7);
Tailwind
colors: {
  custom: {
    50: '#7f5fb5',
    500: '#3f1e94',
    950: '#000000',
  },
}
SCSS
$custom: #3f1e94;
$custom-light: #7f5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1e94",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 256.78,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36584,
    "c": 0.17642,
    "h": 286.7
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#3F1E94
secondary
#9FBF4F
accent
#E93FB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F1E94

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

Preview Lab → · Contrast checker → · Palette generator →

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