#3F1C95#3F1C95

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

Color values

HEX#3F1C95
RGBrgb(63, 28, 149)
HSLhsl(257, 68%, 35%)
HSVhsv(257, 81%, 58%)
CMYKcmyk(57.7%, 81.2%, 0%, 41.6%)
CIE-LABlab(23.86, 46.29, -59.65)
CIE-LCHlch(23.86, 75.51, 307.81°)
OKLaboklab(36.46% 0.0518 -0.1718)
OKLCHoklch(36.46% 0.179 286.8)
XYZxyz(7.8883, 4.0568, 28.7953)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1C95 #72951C
analogous
#1C3695 #3F1C95 #7B1C95
triadic
#3F1C95 #953F1C #1C953F
tetradic
#3F1C95 #951C36 #72951C #1C957B
square
#3F1C95 #951C36 #72951C #1C957B
split-complementary
#3F1C95 #957B1C #36951C
monochromatic
#13092E #291261 #3F1C95 #5526C9 #774EDE

Accessibility & contrast

On white

11.59
#3F1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3F1C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1C95
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1C95#FFFFFF#000000##FFFFFF
##3F1C951.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1c95;
/* rgb */ color: rgb(63, 28, 149);
/* oklch */ color: oklch(36.5% 0.179 286.8);
Tailwind
colors: {
  custom: {
    50: '#7f5eb5',
    500: '#3f1c95',
    950: '#000000',
  },
}
SCSS
$custom: #3f1c95;
$custom-light: #7f5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1c95",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 257.355,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36465,
    "c": 0.17941,
    "h": 286.8
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#3F1C95
secondary
#9FC04D
accent
#EB3DB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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