#3F1C93#3F1C93

#3F1C93 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.177 H 287.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#3F1C93
RGBrgb(63, 28, 147)
HSLhsl(258, 68%, 34%)
HSVhsv(258, 81%, 58%)
CMYKcmyk(57.1%, 81%, 0%, 42.4%)
CIE-LABlab(23.65, 45.73, -58.76)
CIE-LCHlch(23.65, 74.46, 307.89°)
OKLaboklab(36.26% 0.0524 -0.1692)
OKLCHoklch(36.26% 0.177 287.2)
XYZxyz(7.7300, 3.9934, 27.9616)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1C93 #70931C
analogous
#1C3593 #3F1C93 #7B1C93
triadic
#3F1C93 #933F1C #1C933F
tetradic
#3F1C93 #931C35 #70931C #1C937B
square
#3F1C93 #931C35 #70931C #1C937B
split-complementary
#3F1C93 #937B1C #35931C
monochromatic
#13082C #291260 #3F1C93 #5526C6 #774CDD

Accessibility & contrast

On white

11.67
#3F1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3F1C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1C93
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1C93#FFFFFF#000000##FFFFFF
##3F1C931.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#183F58
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f1c93;
/* rgb */ color: rgb(63, 28, 147);
/* oklch */ color: oklch(36.3% 0.177 287.2);
Tailwind
colors: {
  custom: {
    50: '#7f5db4',
    500: '#3f1c93',
    950: '#000000',
  },
}
SCSS
$custom: #3f1c93;
$custom-light: #7f5db4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1c93",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 257.647,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36258,
    "c": 0.17711,
    "h": 287.2
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#3F1C93
secondary
#9DBF4C
accent
#EB3DB8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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