#3F1E93#3F1E93

#3F1E93 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.175 H 286.9°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#3F1E93
RGBrgb(63, 30, 147)
HSLhsl(257, 66%, 35%)
HSVhsv(257, 80%, 58%)
CMYKcmyk(57.1%, 79.6%, 0%, 42.4%)
CIE-LABlab(23.97, 44.80, -58.23)
CIE-LCHlch(23.97, 73.47, 307.57°)
OKLaboklab(36.48% 0.0511 -0.1676)
OKLCHoklch(36.48% 0.175 286.9)
XYZxyz(7.7791, 4.0915, 27.9779)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1E93 #72931E
analogous
#1E3893 #3F1E93 #7A1E93
triadic
#3F1E93 #933F1E #1E933F
tetradic
#3F1E93 #931E38 #72931E #1E937A
square
#3F1E93 #931E38 #72931E #1E937A
split-complementary
#3F1E93 #937A1E #38931E
monochromatic
#13092D #291460 #3F1E93 #5528C6 #7750DB

Accessibility & contrast

On white

11.55
#3F1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1E93
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1E93#FFFFFF#000000##FFFFFF
##3F1E931.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#184058
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3f1e93;
/* rgb */ color: rgb(63, 30, 147);
/* oklch */ color: oklch(36.5% 0.175 286.9);
Tailwind
colors: {
  custom: {
    50: '#7e5fb4',
    500: '#3f1e93',
    950: '#000000',
  },
}
SCSS
$custom: #3f1e93;
$custom-light: #7e5fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1e93",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 256.923,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36481,
    "c": 0.17525,
    "h": 286.9
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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